You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
713 B

Index: lib/xr-server.c
--- lib/xr-server.c.orig 2016-05-29 09:43:31.171520000 +0200
+++ lib/xr-server.c 2016-05-29 09:43:51.971539890 +0200
@@ -20,6 +20,9 @@
#include <stdlib.h>
#include <time.h>
#include <string.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
#include "xr-server.h"
#include "xr-http.h"
Index: lib/xr-utils.c
--- lib/xr-utils.c.orig 2012-04-06 02:24:40.000000000 +0200
+++ lib/xr-utils.c 2016-05-29 09:43:31.171520404 +0200
@@ -20,9 +20,10 @@
#ifdef WIN32
#include <winsock2.h>
#else
+ #include <sys/types.h>
+ #include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
- #include <sys/types.h>
#include <netinet/tcp.h>
#endif