Use _DEFAULT_SOURCE instead of deprecated _BSD_SOURCE

This commit is contained in:
Moritz Lipp 2014-10-16 23:56:41 +02:00
parent e70d346288
commit 9ee079bd34
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
/* See LICENSE file for license and copyright information */
#define _BSD_SOURCE
#define _DEFAULT_SOURCE
#define _XOPEN_SOURCE 700
#include "content-type.h"

View file

@ -1,6 +1,6 @@
/* See LICENSE file for license and copyright information */
#define _BSD_SOURCE
#define _DEFAULT_SOURCE
#define _XOPEN_SOURCE 700
#include <errno.h>