aboutsummaryrefslogtreecommitdiffstats
path: root/udev-block-notify.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-10-17 12:07:50 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-10-17 12:07:50 +0200
commit4708fa8f35f370e7da8befad594250f8317009c9 (patch)
treed9cc3600e1b4aa9a9dca23ea9fbf690f9facb24b /udev-block-notify.c
parent88c1f6569f4965504aefca75b8633fb6465aa490 (diff)
downloadudev-block-notify-4708fa8f35f370e7da8befad594250f8317009c9.tar.gz
udev-block-notify-4708fa8f35f370e7da8befad594250f8317009c9.tar.zst
use ISO C11, the 2011 revision of the ISO C standard
In traditional mode preprocessing directives are recognized only when their leading `#' appears in the first column. There can be no whitespace between the beginning of the line and the `#'. So use ISO C11 and close #4. (I hope so.)
Diffstat (limited to 'udev-block-notify.c')
-rw-r--r--udev-block-notify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/udev-block-notify.c b/udev-block-notify.c
index e71c6c3..e05e13b 100644
--- a/udev-block-notify.c
+++ b/udev-block-notify.c
@@ -5,6 +5,8 @@
* of the GNU General Public License, incorporated herein by reference.
*/
+#define _GNU_SOURCE
+
#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>