added _DEFAULT_SOURCE to fix compilation warnings on gcc 5

This commit is contained in:
arch3y
2016-05-03 21:47:34 -04:00
parent 012da78b04
commit 91ca149479
4 changed files with 4 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
#include "config.h"
#define _BSD_SOURCE 1 /* for MAP_POPULATE */
#define _DEFAULT_SOURCE
#if HAVE_SYS_MMAN_H
# include <sys/mman.h>