Attached a patch for the rrd-tool LIBDBI integration with the following improvements:
[rrdtool.git] / src / rrd_daemon.c
index c491d14..6445e55 100644 (file)
 #include "rrd_client.h"
 
 #include <stdlib.h>
+
+#ifndef WIN32
 #include <stdint.h>
-#include <stdio.h>
 #include <unistd.h>
-#include <string.h>
 #include <strings.h>
-#include <stdint.h>
 #include <inttypes.h>
+#      include <sys/socket.h>
+
+#else
+
+#endif
+#include <stdio.h>
+#include <string.h>
 
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <signal.h>
-#include <sys/socket.h>
 #include <sys/un.h>
 #include <netdb.h>
 #include <poll.h>
@@ -1092,7 +1097,7 @@ static int handle_request_help (listen_socket_t *sock, /* {{{ */
     "Usage: FLUSH <filename>\n"
     "\n"
     "Adds the given filename to the head of the update queue and returns\n"
-    "after is has been dequeued.\n"
+    "after it has been dequeued.\n"
   };
 
   char *help_flushall[2] =