kvargs: new function to get from key and value
[dpdk.git] / app / test / test_eal_fs.c
index 7ca2164..39ac696 100644 (file)
@@ -8,8 +8,7 @@
 #include <string.h>
 #include <errno.h>
 
-/* eal_filesystem.h is not a public header file, so use relative path */
-#include "../../lib/librte_eal/common/eal_filesystem.h"
+#include "eal_filesystem.h"
 
 static int
 test_parse_sysfs_value(void)
@@ -22,7 +21,7 @@ test_parse_sysfs_value(void)
        unsigned valid_number;
        unsigned long retval = 0;
 
-#ifdef RTE_EXEC_ENV_BSDAPP
+#ifdef RTE_EXEC_ENV_FREEBSD
        /* BSD doesn't have /proc/pid/fd */
        return 0;
 #endif