gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r31787 - in gnunet: . src/include


From: gnunet
Subject: [GNUnet-SVN] r31787 - in gnunet: . src/include
Date: Sat, 4 Jan 2014 03:24:26 +0100

Author: grothoff
Date: 2014-01-04 03:24:26 +0100 (Sat, 04 Jan 2014)
New Revision: 31787

Modified:
   gnunet/configure.ac
   gnunet/src/include/platform.h
Log:
FreeBSD has ucred.h in sys/ucred.h, check for this (#3249)

Modified: gnunet/configure.ac
===================================================================
--- gnunet/configure.ac 2014-01-04 02:22:39 UTC (rev 31786)
+++ gnunet/configure.ac 2014-01-04 02:24:26 UTC (rev 31787)
@@ -570,7 +570,7 @@
 
 
 # Checks for headers that are only required on some systems or opional (and 
where we do NOT abort if they are not there)
-AC_CHECK_HEADERS([malloc.h malloc/malloc.h langinfo.h sys/param.h sys/mount.h 
sys/statvfs.h sys/select.h sockLib.h sys/mman.h sys/msg.h sys/vfs.h arpa/inet.h 
fcntl.h libintl.h netdb.h netinet/in.h netinet/in_systm.h netinet/ip.h 
sys/ioctl.h sys/socket.h sys/time.h unistd.h kstat.h sys/sysinfo.h kvm.h 
sys/file.h sys/resource.h ifaddrs.h mach/mach.h stddef.h sys/timeb.h terminos.h 
argz.h ucred.h endian.h sys/endian.h execinfo.h])
+AC_CHECK_HEADERS([malloc.h malloc/malloc.h langinfo.h sys/param.h sys/mount.h 
sys/statvfs.h sys/select.h sockLib.h sys/mman.h sys/msg.h sys/vfs.h arpa/inet.h 
fcntl.h libintl.h netdb.h netinet/in.h netinet/in_systm.h netinet/ip.h 
sys/ioctl.h sys/socket.h sys/time.h unistd.h kstat.h sys/sysinfo.h kvm.h 
sys/file.h sys/resource.h ifaddrs.h mach/mach.h stddef.h sys/timeb.h terminos.h 
argz.h ucred.h sys/ucred.h endian.h sys/endian.h execinfo.h])
 
 SAVE_LDFLAGS=$LDFLAGS
 SAVE_CPPFLAGS=$CPPFLAGS

Modified: gnunet/src/include/platform.h
===================================================================
--- gnunet/src/include/platform.h       2014-01-04 02:22:39 UTC (rev 31786)
+++ gnunet/src/include/platform.h       2014-01-04 02:24:26 UTC (rev 31787)
@@ -164,6 +164,9 @@
 #if HAVE_UCRED_H
 #include <ucred.h>
 #endif
+#if HAVE_SYS_UCRED_H
+#include <sys/ucred.h>
+#endif
 #ifdef CYGWIN
 #include <windows.h>
 #include <cygwin/if.h>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]