]> git.droids-corp.org - dpdk.git/blobdiff - examples/vm_power_manager/channel_manager.h
examples/vm_power: drop Unix path limit redefinition
[dpdk.git] / examples / vm_power_manager / channel_manager.h
index a2a2f2bba06d6f49c1481220d437f2e1cb48dc6e..e55376fcdbb153c9e3b42eeca83491c3d8836391 100644 (file)
@@ -10,7 +10,7 @@ extern "C" {
 #endif
 
 #include <linux/limits.h>
-#include <sys/un.h>
+#include <linux/un.h>
 #include <rte_atomic.h>
 #include <stdbool.h>
 
@@ -26,11 +26,6 @@ extern "C" {
 /* FIFO file name template */
 #define CHANNEL_MGR_FIFO_PATTERN_NAME   "fifo"
 
-#ifndef UNIX_PATH_MAX
-struct sockaddr_un _sockaddr_un;
-#define UNIX_PATH_MAX sizeof(_sockaddr_un.sun_path)
-#endif
-
 #define MAX_CLIENTS 64
 #define MAX_VCPUS 20