From 4535ac71e075946f374aef0bb1e2997869f148fe Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 1 Sep 2015 17:05:38 +0200 Subject: Fixes out-of-source builds and minor build issues --- dma/CMakeLists.txt | 2 ++ dma/ipe.c | 1 + dma/ipe_benchmark.c | 1 + dma/nwl.c | 1 + dma/nwl_engine.c | 1 + dma/nwl_loopback.c | 1 + 6 files changed, 7 insertions(+) (limited to 'dma') 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 #include 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 #include 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 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 #include 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 #include #include -- cgit v1.2.3