summaryrefslogtreecommitdiffstats
path: root/pcitool
diff options
context:
space:
mode:
Diffstat (limited to 'pcitool')
-rw-r--r--pcitool/CMakeLists.txt2
-rw-r--r--pcitool/cli.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/pcitool/CMakeLists.txt b/pcitool/CMakeLists.txt
index 4aea142..0c0eef2 100644
--- a/pcitool/CMakeLists.txt
+++ b/pcitool/CMakeLists.txt
@@ -1,6 +1,8 @@
include_directories(
${CMAKE_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/pcilib
+ ${CMAKE_BINARY_DIR}/pcilib
${FASTWRITER_INCLUDE_DIRS}
)
diff --git a/pcitool/cli.c b/pcitool/cli.c
index 57801ab..7cd8196 100644
--- a/pcitool/cli.c
+++ b/pcitool/cli.c
@@ -1,6 +1,7 @@
#define _XOPEN_SOURCE 700
#define _POSIX_C_SOURCE 200112L
#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#include <stdio.h>
#include <stdlib.h>