diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-09-01 17:05:38 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-09-01 17:05:38 +0200 |
commit | 4535ac71e075946f374aef0bb1e2997869f148fe (patch) | |
tree | 7439eea8c02b5164ef459f5b7a7565a1d0c3f42c /dma | |
parent | 6bad94bb8546a3a5595d340e7a2d809635e3bd5d (diff) | |
download | pcitool-4535ac71e075946f374aef0bb1e2997869f148fe.tar.gz pcitool-4535ac71e075946f374aef0bb1e2997869f148fe.tar.bz2 pcitool-4535ac71e075946f374aef0bb1e2997869f148fe.tar.xz pcitool-4535ac71e075946f374aef0bb1e2997869f148fe.zip |
Fixes out-of-source builds and minor build issues
Diffstat (limited to 'dma')
-rw-r--r-- | dma/CMakeLists.txt | 2 | ||||
-rw-r--r-- | dma/ipe.c | 1 | ||||
-rw-r--r-- | dma/ipe_benchmark.c | 1 | ||||
-rw-r--r-- | dma/nwl.c | 1 | ||||
-rw-r--r-- | dma/nwl_engine.c | 1 | ||||
-rw-r--r-- | dma/nwl_loopback.c | 1 |
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) @@ -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> @@ -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> |