Include unistd only if its there
This commit is contained in:
@@ -38,10 +38,13 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "heimqueue.h"
|
#include "heimqueue.h"
|
||||||
#include "heim_threads.h"
|
#include "heim_threads.h"
|
||||||
#include "heimbase.h"
|
#include "heimbase.h"
|
||||||
|
Reference in New Issue
Block a user