]> git.meshlink.io Git - meshlink/blobdiff - lib/fake-getnameinfo.c
Big header file cleanup: everything that has to do with standard system
[meshlink] / lib / fake-getnameinfo.c
index 894c6952dd84dad976807ae76125c56da0a5af83..8774da2716ff998b9529491f54de72b423e70966 100644 (file)
@@ -9,17 +9,10 @@
  * that ai_family is AF_INET. Don't use it for another purpose.
  */
 
-#include "config.h"
-
-#include <sys/types.h>
-#include <netinet/in.h>
-#include <sys/socket.h>
-#include <netdb.h>
-#include <string.h>
-
-#include <system.h>
+#include "system.h"
 
 #include "fake-getnameinfo.h"
+#include "fake-getaddrinfo.h"
 
 #ifndef HAVE_GETNAMEINFO