diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2013-12-26 16:15:10 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2013-12-26 16:15:10 +0800 |
commit | adb0d2adac43987c062787c3b8dbbe5c99696cc2 (patch) | |
tree | 40809a3d74d25b31e5bb54cd0628df4bf1946a43 /gtk/gtkapplication.c | |
parent | 66381cfd5d73c08d56409fe6695754c093dd2e50 (diff) | |
download | gtk+-adb0d2adac43987c062787c3b8dbbe5c99696cc2.tar.gz |
gtk/gtkapplication.c: Don't Include unistd.h Unconditionally
This header, which is not universally available, is accidently made to be
included unconditionally during the refactoring of gtkapplication.c,
so restore the #ifdef check.
Diffstat (limited to 'gtk/gtkapplication.c')
-rw-r--r-- | gtk/gtkapplication.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c index 46540ab5ee..ea5211b211 100644 --- a/gtk/gtkapplication.c +++ b/gtk/gtkapplication.c @@ -23,7 +23,11 @@ #include "gtkapplication.h" #include <stdlib.h> + +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif + #include <string.h> #include "gtkapplicationprivate.h" |