Fix missing unistd includes to allow building with older headers

This commit is contained in:
Vincent Sanders 2015-06-29 17:07:49 +01:00
parent b208c60ddd
commit 65ef60d2b5
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,7 @@
*/
#include <string.h>
#include <unistd.h>
#include <gtk/gtk.h>
#include "desktop/browser.h"

View File

@ -28,6 +28,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <gtk/gtk.h>
#include "utils/log.h"
@ -826,7 +827,7 @@ editor_init_fname(const char *title,
int veci;
/* desktop file of default app for mimetype */
char *def_app_desktop = NULL;
char *exec_cmd;
char *exec_cmd = NULL;
char **argv;
/* build string vector of search path */