summaryrefslogtreecommitdiffstats
path: root/dma
diff options
context:
space:
mode:
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>