[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r37854 - libmicrohttpd/src/microhttpd
From: |
gnunet |
Subject: |
[GNUnet-SVN] r37854 - libmicrohttpd/src/microhttpd |
Date: |
Wed, 31 Aug 2016 18:15:01 +0200 |
Author: Karlson2k
Date: 2016-08-31 18:15:01 +0200 (Wed, 31 Aug 2016)
New Revision: 37854
Modified:
libmicrohttpd/src/microhttpd/mhd_sockets.h
Log:
mhd_sockets.h: improved compatibility with old platforms
Modified: libmicrohttpd/src/microhttpd/mhd_sockets.h
===================================================================
--- libmicrohttpd/src/microhttpd/mhd_sockets.h 2016-08-31 15:42:39 UTC (rev
37853)
+++ libmicrohttpd/src/microhttpd/mhd_sockets.h 2016-08-31 16:15:01 UTC (rev
37854)
@@ -52,6 +52,9 @@
* for socket function.
*/
#if defined(MHD_POSIX_SOCKETS)
+# ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h> /* required on old platforms */
+# endif
# ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
# endif
@@ -95,9 +98,6 @@
# ifdef HAVE_STRING_H
# include <string.h> /* for strerror() */
# endif
-# if defined(HAVE_SYS_TYPES_H)
-# include <sys/types.h> /* required on old platforms */
-# endif /* (!HAVE_SYS_SOCKET_H || !HAVE_SYS_SOCKET_H) && HAVE_SYS_TYPES_H */
#elif defined(MHD_WINSOCK_SOCKETS)
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN 1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r37854 - libmicrohttpd/src/microhttpd,
gnunet <=