gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r37779 - libmicrohttpd/src/microhttpd


From: gnunet
Subject: [GNUnet-SVN] r37779 - libmicrohttpd/src/microhttpd
Date: Wed, 24 Aug 2016 17:02:05 +0200

Author: Karlson2k
Date: 2016-08-24 17:02:05 +0200 (Wed, 24 Aug 2016)
New Revision: 37779

Modified:
   libmicrohttpd/src/microhttpd/mhd_sockets.h
Log:
mhd_sockets.h: improved header inclusion macros.

Modified: libmicrohttpd/src/microhttpd/mhd_sockets.h
===================================================================
--- libmicrohttpd/src/microhttpd/mhd_sockets.h  2016-08-24 12:50:02 UTC (rev 
37778)
+++ libmicrohttpd/src/microhttpd/mhd_sockets.h  2016-08-24 15:02:05 UTC (rev 
37779)
@@ -52,7 +52,7 @@
  * for socket function.
  */
 #if defined(MHD_POSIX_SOCKETS)
-#  if HAVE_SYS_SOCKET_H
+#  ifdef HAVE_SYS_SOCKET_H
 #    include <sys/socket.h>
 #  endif
 #  if defined(__VXWORKS__) || defined(__vxworks) || defined(OS_VXWORKS)
@@ -67,28 +67,28 @@
 #  ifdef HAVE_NETINET_IN_H
 #    include <netinet/in.h>
 #  endif /* HAVE_NETINET_IN_H */
-#  if HAVE_ARPA_INET_H
+#  ifdef HAVE_ARPA_INET_H
 #    include <arpa/inet.h>
 #  endif
 #  ifdef HAVE_NET_IF_H
 #    include <net/if.h>
 #  endif
-#  if HAVE_SYS_TIME_H
+#  ifdef HAVE_SYS_TIME_H
 #    include <sys/time.h>
 #  endif
-#  if HAVE_TIME_H
+#  ifdef HAVE_TIME_H
 #    include <time.h>
 #  endif
-#  if HAVE_NETDB_H
+#  ifdef HAVE_NETDB_H
 #    include <netdb.h>
 #  endif
-#  if HAVE_SYS_SELECT_H
+#  ifdef HAVE_SYS_SELECT_H
 #    include <sys/select.h>
 #  endif
 #  if EPOLL_SUPPORT
 #    include <sys/epoll.h>
 #  endif
-#  if HAVE_NETINET_TCP_H
+#  ifdef HAVE_NETINET_TCP_H
      /* for TCP_FASTOPEN and TCP_CORK */
 #    include <netinet/tcp.h>
 #  endif




reply via email to

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