Don't include unistd.h unconditionally

It doesn't exist on all platforms. Partial fix for bug 647341.
This commit is contained in:
Matthias Clasen 2011-04-11 12:57:19 -04:00
parent 9d048615da
commit 3c94299b0f

View File

@ -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"