summaryrefslogtreecommitdiffstats
path: root/pcitool
diff options
context:
space:
mode:
authorzilio nicolas <nicolas.zilio@kit.edu>2015-09-04 13:01:14 +0200
committerzilio nicolas <nicolas.zilio@kit.edu>2015-09-04 13:01:14 +0200
commit5459bc4a693e7d149e02c13c086d628aad7e0555 (patch)
tree90949dfdd2b2f35beed2744ec5a2a7289f1707c2 /pcitool
parent57149189cb4e15ed38ee34d44450390955e56697 (diff)
parent4535ac71e075946f374aef0bb1e2997869f148fe (diff)
downloadpcitool-5459bc4a693e7d149e02c13c086d628aad7e0555.tar.gz
pcitool-5459bc4a693e7d149e02c13c086d628aad7e0555.tar.bz2
pcitool-5459bc4a693e7d149e02c13c086d628aad7e0555.tar.xz
pcitool-5459bc4a693e7d149e02c13c086d628aad7e0555.zip
almost finished regarding suren remarks
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 e9c9574..e0aaf28 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>