chiark / gitweb /
libudev: link against selinux if needed
[elogind.git] / udev / udevinfo.c
index b9ee17c4f1012651fae6ba36bf1e9e3c8eddce37..a97f09c3e61db83eb879d1cb829c566e29ae919b 100644 (file)
@@ -16,6 +16,8 @@
  *
  */
 
+#include "config.h"
+
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
@@ -373,10 +375,10 @@ int udevinfo(int argc, char *argv[], char *envp[])
                        export_prefix = optarg;
                        break;
                case 1:
-                       printf("%s\n", UDEV_VERSION);
+                       printf("%s\n", VERSION);
                        goto exit;
                case 'V':
-                       printf("udevinfo, version %s\n", UDEV_VERSION);
+                       printf("udevinfo, version %s\n", VERSION);
                        goto exit;
                case 'h':
                        printf("Usage: udevadm info OPTIONS\n"