Fix compilation of openvswitch-1.1.0pre2 on FreeBSD-8.1
authorGaetano Catalli <gaetano.catalli@gmail.com>
Wed, 30 Mar 2011 15:25:36 +0000 (17:25 +0200)
committerBen Pfaff <blp@nicira.com>
Wed, 30 Mar 2011 16:43:28 +0000 (09:43 -0700)
lib/stream-ssl.c
utilities/ovs-ofctl.c

index f7112c3e14c2498990fd640757c0ec799eb23c0e..4874bbe482a79b9bc1b80b7ee7d7595bc8e74f26 100644 (file)
@@ -22,6 +22,8 @@
 #include <errno.h>
 #include <inttypes.h>
 #include <string.h>
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <netinet/tcp.h>
 #include <openssl/err.h>
 #include <openssl/ssl.h>
index 10b31537144c7dbaa0a51477e81c4855b9ad3d20..81ce1f7e4f534da175fbdd3ee91dd9f7f5d0a8f9 100644 (file)
@@ -18,6 +18,7 @@
 #include <errno.h>
 #include <getopt.h>
 #include <inttypes.h>
+#include <sys/socket.h>
 #include <net/if.h>
 #include <signal.h>
 #include <stdlib.h>