summaryrefslogtreecommitdiff
path: root/examples/ip_pipeline/tap.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ip_pipeline/tap.c')
-rw-r--r--examples/ip_pipeline/tap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ip_pipeline/tap.c b/examples/ip_pipeline/tap.c
index 11e4ad2..ea979bd 100644
--- a/examples/ip_pipeline/tap.c
+++ b/examples/ip_pipeline/tap.c
@@ -3,7 +3,7 @@
*/
#include <netinet/in.h>
-#ifdef RTE_EXEC_ENV_LINUXAPP
+#ifdef RTE_EXEC_ENV_LINUX
#include <linux/if.h>
#include <linux/if_tun.h>
#endif
@@ -46,7 +46,7 @@ tap_find(const char *name)
return NULL;
}
-#ifndef RTE_EXEC_ENV_LINUXAPP
+#ifndef RTE_EXEC_ENV_LINUX
struct tap *
tap_create(const char *name __rte_unused)