mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-16 06:24:24 +03:00
Fix missing unistd includes to allow building with older headers
This commit is contained in:
parent
b208c60ddd
commit
65ef60d2b5
@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "desktop/browser.h"
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user