summaryrefslogtreecommitdiffstats
path: root/src/pal
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-10-30 16:10:59 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-10-30 21:00:40 +0200
commitf5817145486df18f92072212117a713cec1e4219 (patch)
treee15cc4f8cf54eaaa9d166b6d750c002dffda7a1f /src/pal
parent599f4ecd1a2e9fdbe53a848b1dad71a08a67e048 (diff)
add ifdef guard to .h file
remove UUID from TUI STF Python API: show newlines instead of "\n\n\n" in Exception message STF Python API: remove "During handling of the above exception, another exception occurred:" in Python3.3+ dpdk_nic_bind.py: ensure needed PATH exists for lspci etc. t-rex-64: remove "stty: standard input: Inappropriate ioctl for device" t-rex-64: remove "cat: write error: Broken pipe" Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'src/pal')
-rw-r--r--src/pal/linux/rte_ethdev_includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pal/linux/rte_ethdev_includes.h b/src/pal/linux/rte_ethdev_includes.h
index de115d77..e957b68b 100644
--- a/src/pal/linux/rte_ethdev_includes.h
+++ b/src/pal/linux/rte_ethdev_includes.h
@@ -1,3 +1,6 @@
+#ifndef __RTE_ETHDEV_INCLUDES_H__
+#define __RTE_ETHDEV_INCLUDES_H__
+
struct rte_eth_link {
int link_autoneg;
int link_speed;
@@ -21,3 +24,4 @@ struct rte_eth_fc_conf {
struct rte_eth_dev_info {
};
+#endif /* __RTE_ETHDEV_INCLUDES_H__ */