Skip to content
Browse files

Include <sys/types.h> early in config_static.h

Not all platforms provide a tcp.h that can be included without
the types defined there...

Change-Id: I7a44b9a035e220addbc9c0e2eb54acbee8ae3c6b
Reviewed-on: http://review.couchbase.org/9007
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
  • Loading branch information...
1 parent 5ee6012 commit 1fb24477a7010529dc3739f689a706b572d6819f @trondn trondn committed with chiyoung Aug 16, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 config_static.h
View
1 config_static.h
@@ -18,6 +18,7 @@
#define CONFIG_STATIC_H 1
// The intention of this file is to avoid cluttering the code with #ifdefs
+#include <sys/types.h>
#ifdef WIN32
// HAVE_CONFIG_H is causing problems with pthreads.h on in32

0 comments on commit 1fb2447

Please sign in to comment.
Something went wrong with that request. Please try again.