]> git.saurik.com Git - apt.git/commitdiff
mmap: Define _DEFAULT_SOURCE instead of _BSD_SOURCE
authorJulian Andres Klode <jak@debian.org>
Fri, 11 Dec 2015 14:02:24 +0000 (15:02 +0100)
committerJulian Andres Klode <jak@debian.org>
Fri, 11 Dec 2015 14:02:24 +0000 (15:02 +0100)
Fixes a warning reported by gcc.

Gbp-Dch: ignore

apt-pkg/contrib/mmap.cc

index 33c33d1c1b7ec437f9627629864f57aa3ab1eac1..4dc851c1bee7aa23bf2cf31ecb5749c83a98e3d3 100644 (file)
@@ -16,7 +16,7 @@
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
 #include <config.h>
 
 #include <apt-pkg/mmap.h>
 #include <config.h>
 
 #include <apt-pkg/mmap.h>