summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.c
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 /pcilib/pci.c
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 'pcilib/pci.c')
-rw-r--r--pcilib/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pcilib/pci.c b/pcilib/pci.c
index 62ac92d..ca17931 100644
--- a/pcilib/pci.c
+++ b/pcilib/pci.c
@@ -1,6 +1,7 @@
//#define PCILIB_FILE_IO
#define _XOPEN_SOURCE 700
#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#define _POSIX_C_SOURCE 200809L
#include <stdio.h>