sflow: Use hash table instead of sparse array for sflow ports.
[openvswitch] / lib / stream-unix.c
index 33f566b371edaa4f6e2e4187b50d6a3850713ed8..20aa5b482876c373f7a7386be4f810ee7e683ce8 100644 (file)
@@ -21,6 +21,7 @@
 #include <inttypes.h>
 #include <netdb.h>
 #include <poll.h>
+#include <sys/socket.h>
 #include <sys/types.h>
 #include <sys/un.h>
 #include <stdlib.h>
@@ -32,9 +33,9 @@
 #include "util.h"
 #include "stream-provider.h"
 #include "stream-fd.h"
-
 #include "vlog.h"
-#define THIS_MODULE VLM_stream_unix
+
+VLOG_DEFINE_THIS_MODULE(stream_unix)
 
 /* Active UNIX socket. */