chiark / gitweb /
[PATCH] volume_id: Fix label/uuid reading for reiserfs
[elogind.git] / extras / volume_id / udev_volume_id.c
index c36b89f8bd4d8d443cdde11ff6400226e22fbf0e..a00b01a27daafd4a113990e09eab449d4d259e17 100644 (file)
  *
  */
 
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -35,7 +39,7 @@
 
 #define BLKGETSIZE64 _IOR(0x12,114,size_t)
 
-#ifdef LOG
+#ifdef USE_LOG
 void log_message(int level, const char *format, ...)
 {
        va_list args;