[PATCH 1/4] iphlpapi: Remove some unneeded system headers.

Huw Davies huw at codeweavers.com
Tue Oct 5 01:53:19 CDT 2021


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 dlls/iphlpapi/iphlpapi_main.c | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index b2e996a6241..ae356dc7b8c 100644
--- a/dlls/iphlpapi/iphlpapi_main.c
+++ b/dlls/iphlpapi/iphlpapi_main.c
@@ -17,19 +17,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
-
-#include "config.h"
-
 #include <stdarg.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <sys/types.h>
-#ifdef HAVE_NETINET_IN_H
-# include <netinet/in.h>
-#endif
-#ifdef HAVE_ARPA_INET_H
-# include <arpa/inet.h>
-#endif
 
 #define NONAMELESSUNION
 #define NONAMELESSSTRUCT
@@ -57,13 +45,10 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(iphlpapi);
 
-#ifndef IF_NAMESIZE
-#define IF_NAMESIZE 16
-#endif
-
 #ifndef INADDR_NONE
 #define INADDR_NONE ~0UL
 #endif
+#define INADDR_ANY 0UL
 
 #define CHARS_IN_GUID 39
 
-- 
2.23.0




More information about the wine-devel mailing list