summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-09-01 17:05:38 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-09-01 17:05:38 +0200
commit4535ac71e075946f374aef0bb1e2997869f148fe (patch)
tree7439eea8c02b5164ef459f5b7a7565a1d0c3f42c /apps
parent6bad94bb8546a3a5595d340e7a2d809635e3bd5d (diff)
downloadpcitool-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 'apps')
-rw-r--r--apps/pio_test.c1
-rw-r--r--apps/xilinx.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/pio_test.c b/apps/pio_test.c
index 84439ee..f211bf1 100644
--- a/apps/pio_test.c
+++ b/apps/pio_test.c
@@ -1,4 +1,5 @@
#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#define _POSIX_C_SOURCE 199309L
#include <stdio.h>
#include <stdlib.h>
diff --git a/apps/xilinx.c b/apps/xilinx.c
index 0fe146b..a7b63e1 100644
--- a/apps/xilinx.c
+++ b/apps/xilinx.c
@@ -1,4 +1,5 @@
#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#define _POSIX_C_SOURCE 199309L
#include <stdio.h>
#include <stdlib.h>