aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-01-04 02:24:26 +0000
committerChristian Grothoff <christian@grothoff.org>2014-01-04 02:24:26 +0000
commit5846b3d06c78e2df0919664c903b0b297e88d252 (patch)
tree7a07b11e6f6ab9e5835ca9bcd86a798ed01c97e9 /src/include/platform.h
parent68b6441ed146a8d00faa79a35c46b23331a6fe8d (diff)
downloadgnunet-5846b3d06c78e2df0919664c903b0b297e88d252.tar.gz
gnunet-5846b3d06c78e2df0919664c903b0b297e88d252.zip
FreeBSD has ucred.h in sys/ucred.h, check for this (#3249)
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index 57c6bdd6c..b69426168 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -164,6 +164,9 @@
164#if HAVE_UCRED_H 164#if HAVE_UCRED_H
165#include <ucred.h> 165#include <ucred.h>
166#endif 166#endif
167#if HAVE_SYS_UCRED_H
168#include <sys/ucred.h>
169#endif
167#ifdef CYGWIN 170#ifdef CYGWIN
168#include <windows.h> 171#include <windows.h>
169#include <cygwin/if.h> 172#include <cygwin/if.h>