git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xen: fix build
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_warnings.h
diff --git
a/lib/librte_eal/common/include/rte_warnings.h
b/lib/librte_eal/common/include/rte_warnings.h
index
423e6fb
..
54b545c
100644
(file)
--- a/
lib/librte_eal/common/include/rte_warnings.h
+++ b/
lib/librte_eal/common/include/rte_warnings.h
@@
-50,14
+50,10
@@
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
-#ifdef RTE_
LIBRTE_EAL
_LINUXAPP
+#ifdef RTE_
EXEC_ENV
_LINUXAPP
#include <dirent.h>
#endif
#include <dirent.h>
#endif
-/* rte_snprintf uses snprintf, so include its definition before we poison the
- * functions, otherwise we'll get an error in it. */
-#include <rte_string_fns.h>
-
/* the following function are deemed not fully secure for use e.g. they
* do not always null-terminate arguments */
#pragma GCC poison sprintf strtok snprintf vsnprintf
/* the following function are deemed not fully secure for use e.g. they
* do not always null-terminate arguments */
#pragma GCC poison sprintf strtok snprintf vsnprintf