Commit f69121b8 authored by Colin Walters's avatar Colin Walters Committed by Ray Strode

build: Use AC_USE_SYSTEM_EXTENSIONS

This ensures that we get all of the extensions consistently, rather
than having just a few files `#define _GNU_SOURCE`.
parent 7ddfd621
......@@ -23,6 +23,7 @@ AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
AC_USE_SYSTEM_EXTENSIONS
AC_ISC_POSIX
AC_PROG_CC
AC_HEADER_STDC
......
......@@ -19,7 +19,8 @@
* Author: David Zeuthen <davidz@redhat.com>
*/
#define _GNU_SOURCE
#include "config.h"
#include <glib.h>
#include <unistd.h>
#include <stdlib.h>
......
......@@ -22,7 +22,6 @@
#ifndef __POLKIT_AGENT_HELPER_PRIVATE_H
#define __POLKIT_AGENT_HELPER_PRIVATE_H
#define _GNU_SOURCE
#include <polkit/polkit.h>
/* Development aid: define PAH_DEBUG to get debugging output. Do _NOT_
......
......@@ -23,8 +23,6 @@
# include "config.h"
#endif
#define _GNU_SOURCE
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment