summaryrefslogtreecommitdiffstats
path: root/dma
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 /dma
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 'dma')
-rw-r--r--dma/CMakeLists.txt2
-rw-r--r--dma/ipe.c1
-rw-r--r--dma/ipe_benchmark.c1
-rw-r--r--dma/nwl.c1
-rw-r--r--dma/nwl_engine.c1
-rw-r--r--dma/nwl_loopback.c1
6 files changed, 7 insertions, 0 deletions
diff --git a/dma/CMakeLists.txt b/dma/CMakeLists.txt
index 38f13eb..4ddaece 100644
--- a/dma/CMakeLists.txt
+++ b/dma/CMakeLists.txt
@@ -1,6 +1,8 @@
include_directories(
${CMAKE_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/pcilib
+ ${CMAKE_BINARY_DIR}/pcilib
)
set(HEADERS ${HEADERS} nwl.h nwl_private.h nwl_engine.h nwl_irq.h nwl_loopback.h ipe.h ipe_private.h)
diff --git a/dma/ipe.c b/dma/ipe.c
index 3e46cb3..1c8e3e8 100644
--- a/dma/ipe.c
+++ b/dma/ipe.c
@@ -1,5 +1,6 @@
#define _PCILIB_DMA_IPE_C
#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#include <stdio.h>
#include <stdlib.h>
diff --git a/dma/ipe_benchmark.c b/dma/ipe_benchmark.c
index 3ce04d3..2f86444 100644
--- a/dma/ipe_benchmark.c
+++ b/dma/ipe_benchmark.c
@@ -1,5 +1,6 @@
#define _PCILIB_DMA_IPE_C
#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#include <stdio.h>
#include <stdlib.h>
diff --git a/dma/nwl.c b/dma/nwl.c
index d22df29..d173157 100644
--- a/dma/nwl.c
+++ b/dma/nwl.c
@@ -1,5 +1,6 @@
#define _PCILIB_DMA_NWL_C
#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#define _GNU_SOURCE
#include <stdio.h>
diff --git a/dma/nwl_engine.c b/dma/nwl_engine.c
index 15ae27e..c3dea49 100644
--- a/dma/nwl_engine.c
+++ b/dma/nwl_engine.c
@@ -1,4 +1,5 @@
#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#include <stdio.h>
#include <stdlib.h>
diff --git a/dma/nwl_loopback.c b/dma/nwl_loopback.c
index 1a0cd93..e5de50e 100644
--- a/dma/nwl_loopback.c
+++ b/dma/nwl_loopback.c
@@ -1,4 +1,5 @@
#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>