gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r14888 - in gnunet: . src/include
Date: Wed, 6 Apr 2011 10:17:12 +0200

Author: grothoff
Date: 2011-04-06 10:17:12 +0200 (Wed, 06 Apr 2011)
New Revision: 14888

Modified:
   gnunet/configure.ac
   gnunet/src/include/platform.h
Log:
need endian macros

Modified: gnunet/configure.ac
===================================================================
--- gnunet/configure.ac 2011-04-06 07:57:31 UTC (rev 14887)
+++ gnunet/configure.ac 2011-04-06 08:17:12 UTC (rev 14888)
@@ -320,7 +320,7 @@
 AC_CHECK_HEADERS([fcntl.h math.h errno.h ctype.h limits.h stdio.h stdlib.h 
string.h unistd.h stdarg.h signal.h locale.h sys/stat.h 
sys/types.h],,AC_MSG_ERROR([Compiling GNUnet requires standard UNIX headers 
files]))
 
 # 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([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 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])
+AC_CHECK_HEADERS([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 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])
 
 SAVE_LDFLAGS=$LDFLAGS
 SAVE_CPPFLAGS=$CPPFLAGS

Modified: gnunet/src/include/platform.h
===================================================================
--- gnunet/src/include/platform.h       2011-04-06 07:57:31 UTC (rev 14887)
+++ gnunet/src/include/platform.h       2011-04-06 08:17:12 UTC (rev 14888)
@@ -180,6 +180,13 @@
 #include <sys/resource.h>
 #endif
 
+#if HAVE_ENDIAN_H
+#include <endian.h>
+#endif
+#if HAVE_SYS_ENDIAN_H
+#include <sys/endian.h>
+#endif
+
 #include "plibc.h"
 
 #include <locale.h>




reply via email to

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