gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r35936 - in gnunet: . src/include
Date: Tue, 16 Jun 2015 15:27:03 +0200

Author: grothoff
Date: 2015-06-16 15:27:03 +0200 (Tue, 16 Jun 2015)
New Revision: 35936

Modified:
   gnunet/configure.ac
   gnunet/src/include/gnunet_common.h
Log:
#include byteswap, if detected by configure

Modified: gnunet/configure.ac
===================================================================
--- gnunet/configure.ac 2015-06-16 13:25:06 UTC (rev 35935)
+++ gnunet/configure.ac 2015-06-16 13:27:03 UTC (rev 35936)
@@ -706,7 +706,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 malloc/malloc_np.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 
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])
+AC_CHECK_HEADERS([malloc.h malloc/malloc.h malloc/malloc_np.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 
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 byteswap.h])
 
 # FreeBSD requires something more funky for netinet/in_systm.h and 
netinet/ip.h...
 AC_CHECK_HEADERS([sys/types.h netinet/in_systm.h netinet/in.h netinet/ip.h],,,

Modified: gnunet/src/include/gnunet_common.h
===================================================================
--- gnunet/src/include/gnunet_common.h  2015-06-16 13:25:06 UTC (rev 35935)
+++ gnunet/src/include/gnunet_common.h  2015-06-16 13:27:03 UTC (rev 35936)
@@ -49,6 +49,10 @@
 #include <stdarg.h>
 #endif
 
+#ifdef HAVE_BYTESWAP_H
+#include <byteswap.h>
+#endif
+
 #ifdef __cplusplus
 extern "C"
 {




reply via email to

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