mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Don't include unistd.h unconditionally
It doesn't exist on all platforms. Partial fix for bug 647341.
This commit is contained in:
parent
9d048615da
commit
3c94299b0f
@ -24,13 +24,16 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <gstdio.h>
|
||||
#include <locale.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <gi18n.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <locale.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "gvdb/gvdb-builder.h"
|
||||
#include "strinfo.c"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user