summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-12-11 15:02:24 +0100
committerJulian Andres Klode <jak@debian.org>2015-12-11 15:02:24 +0100
commitf9d8a91570788b676cabceede3229860ad76734e (patch)
tree01a81c326dded9ef0360145733ad671754bae19a /apt-pkg
parent9596cb945aee8ab78f37b925e0691a7cc1488d56 (diff)
mmap: Define _DEFAULT_SOURCE instead of _BSD_SOURCE
Fixes a warning reported by gcc. Gbp-Dch: ignore
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/contrib/mmap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/mmap.cc b/apt-pkg/contrib/mmap.cc
index 33c33d1c1..4dc851c1b 100644
--- a/apt-pkg/contrib/mmap.cc
+++ b/apt-pkg/contrib/mmap.cc
@@ -16,7 +16,7 @@
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#include <config.h>
#include <apt-pkg/mmap.h>