summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--netlink-notify.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8408fde..e876952 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# netlink-notify - Notify about netlink changes
-CC := gcc
+CC := gcc -std=c11
MD := markdown
CONVERT := convert -define png:compression-level=9 -background transparent
INSTALL := install
diff --git a/netlink-notify.h b/netlink-notify.h
index 3ca7430..ced411d 100644
--- a/netlink-notify.h
+++ b/netlink-notify.h
@@ -8,6 +8,8 @@
#ifndef NETLINK_NOTIFY_H
#define NETLINK_NOTIFY_H
+#define _GNU_SOURCE
+
#include <asm/types.h>
#include <getopt.h>
#include <unistd.h>