* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "config.h"
+
#include <stddef.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
-#define __USE_GNU
#include <sys/socket.h>
-#undef __USE_GNU
#include <sys/un.h>
#include "log.h"
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define _GNU_SOURCE
+#include "config.h"
+
#include <stdio.h>
-#undef _GNU_SOURCE
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include <net/if.h>
#include "error.h"
-#include "config.h"
#include "commands.h"
#include "list.h"
#include "conf.h"
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define _GNU_SOURCE
+#include "config.h"
+
#include <stdio.h>
-#undef _GNU_SOURCE
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include <net/if.h>
#include "error.h"
-#include "config.h"
#include "commands.h"
#include "list.h"
#include "conf.h"
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define _GNU_SOURCE
+#include "config.h"
+
#include <stdio.h>
-#undef _GNU_SOURCE
#include <stdlib.h>
#include <stdarg.h>
#include <errno.h>
#include "network.h"
#include "error.h"
#include "parse.h"
-#include "config.h"
#include "utils.h"
#include "conf.h"
#include "log.h"
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define _GNU_SOURCE
+#include "config.h"
+
#include <stdio.h>
-#undef _GNU_SOURCE
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define _GNU_SOURCE
+#include "config.h"
+
#include <stdio.h>
-#undef _GNU_SOURCE
#include <libgen.h>
#include <stdlib.h>
#include <unistd.h>
#include "conf.h"
#include "cgroup.h"
#include "utils.h"
-#include "config.h"
#include "confile.h"
#include "arguments.h"
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define _GNU_SOURCE
+#include "config.h"
+
#include <stdio.h>
-#undef _GNU_SOURCE
#include <errno.h>
#include <getopt.h>
#include <libgen.h>
#include "caps.h"
#include "cgroup.h"
-#include "config.h"
#include "error.h"
#include "log.h"
#include "namespace.h"
#include "config.h"
#include <stdio.h>
-#undef _GNU_SOURCE
#include <string.h>
#include <stdlib.h>
#include <dirent.h>