summaryrefslogtreecommitdiff
path: root/extras/volume_id/udev_volume_id.c
diff options
context:
space:
mode:
authortklauser@access.unizh.ch <tklauser@access.unizh.ch>2005-03-11 02:31:58 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:53:17 -0700
commit9066c16adaf90888bc2ffe1a816f3638d58e0bdb (patch)
treef419316406fbee5d417e9538277ad73c46f51055 /extras/volume_id/udev_volume_id.c
parente296b1476e99150413d92c58e3b5e07e5bda9fd4 (diff)
[PATCH] The following patch fixes some warnings when compiling volume_id
Diffstat (limited to 'extras/volume_id/udev_volume_id.c')
-rw-r--r--extras/volume_id/udev_volume_id.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/volume_id/udev_volume_id.c b/extras/volume_id/udev_volume_id.c
index 54d95270d0..a00b01a27d 100644
--- a/extras/volume_id/udev_volume_id.c
+++ b/extras/volume_id/udev_volume_id.c
@@ -21,6 +21,10 @@
*
*/
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>