From 01618658fd82dbc5e6315b639f00e87c6fee3c54 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 30 Jul 2008 01:45:23 +0200 Subject: use autotools --- udev/test-udev.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'udev/test-udev.c') diff --git a/udev/test-udev.c b/udev/test-udev.c index 4ac2d5a889..591e93058a 100644 --- a/udev/test-udev.c +++ b/udev/test-udev.c @@ -17,6 +17,8 @@ * */ +#include "config.h" + #include #include #include @@ -71,7 +73,7 @@ int main(int argc, char *argv[], char *envp[]) int retval = -EINVAL; if (argc == 2 && strcmp(argv[1], "-V") == 0) { - printf("%s\n", UDEV_VERSION); + printf("%s\n", VERSION); exit(0); } @@ -93,7 +95,7 @@ int main(int argc, char *argv[], char *envp[]) err("open /dev/null failed: %s\n", strerror(errno)); udev_config_init(); selinux_init(); - dbg("version %s\n", UDEV_VERSION); + dbg("version %s\n", VERSION); /* set signal handlers */ memset(&act, 0x00, sizeof(act)); -- cgit v1.2.3-54-g00ecf