Fix includes
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
Sat, 27 Feb 2010 21:24:05 +0000 (23:24 +0200)
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
Sat, 27 Feb 2010 21:24:05 +0000 (23:24 +0200)
lib/quagga/src/quagga.c
lib/quagga/src/quagga.h

index feea619..8021751 100644 (file)
 
 #define HAVE_SOCKLEN_T
 
-#include <stdint.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <fcntl.h>
-#include <unistd.h>
-
 #include "quagga.h"
 #include "olsr.h"
 #include "log.h"
 #include "defs.h"
 #include "routing_table.h"
 
+#include <stdint.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <string.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
 #ifdef USE_UNIX_DOMAIN_SOCKET
 #include <sys/un.h>
 #define ZEBRA_SOCKET "/var/run/quagga/zserv.api"
index 9d8e058..8f95ce2 100644 (file)
  *                                                                         *
  ***************************************************************************/
 
+#include "routing_table.h"
+
 #include <stdint.h>
-#include <stdio.h>
 #include <stdlib.h>
-#include "routing_table.h"
+
 #define HAVE_SOCKLEN_T
 
 #ifndef ZEBRA_PORT