Use AC_USE_SYSTEM_EXTENSIONS instead of #define _GNU_SOURCE

It's less copy/paste, works everywhere, etc.

Also fix some missing #include "config.h".
This commit is contained in:
Colin Walters committed 2013-07-10 13:25:35 -04:00
1 parent 8cb348315e
commit 124416d832
11 files changed
+6 -15

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@
* Author: Colin Walters <walters@verbum.org>
*/
#define _GNU_SOURCE
#include "config.h"
#include <stdarg.h>
#include <errno.h>
+3 -1
View File
@@ -23,7 +23,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#define _GNU_SOURCE
#include "config.h"
#include <sys/mount.h>
#include <sys/types.h>
#include <sys/stat.h>
+1 -1
View File
@@ -20,7 +20,7 @@
* Author: Colin Walters <walters@verbum.org>
*/
#define _GNU_SOURCE
#include "config.h"
#include <string.h>
#include <stdio.h>