Fix build on FreeBSD.
[openvswitch] / lib / packets.c
index 815d4e66be9d0b0b7b007123ba413e56f7f6d916..b704276caae43dfa3eab59b69127025046c011f3 100644 (file)
@@ -18,6 +18,7 @@
 #include "packets.h"
 #include <assert.h>
 #include <arpa/inet.h>
+#include <sys/socket.h>
 #include <netinet/in.h>
 #include <stdlib.h>
 #include "byte-order.h"