Skip to content
Permalink
Browse files

use HAVE_UNISTD_H test

git-svn-id: https://svn.macosforge.org/repository/libdispatch/trunk@157 5710d607-3af0-45f8-8f96-4508d4f60227
  • Loading branch information
kvanvechten committed Nov 15, 2009
1 parent e64e4b9 commit 1830ffc2d2238cb2d1fddef10e9f74cc1f2de218
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/internal.h
  2. +2 −0 src/private.h
@@ -115,7 +115,9 @@
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif

#define DISPATCH_NOINLINE __attribute__((noinline))

@@ -32,7 +32,9 @@
#include <mach/mach.h>
#include <mach/message.h>
#endif
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif

0 comments on commit 1830ffc

Please sign in to comment.
You can’t perform that action at this time.