From: Jim Meyering Date: Sat, 16 Mar 1996 16:14:26 +0000 (+0000) Subject: Don't include version.h. X-Git-Tag: v2.22-rc1~347^2~10^2~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c851175718ffed86e9a5494b8172506ebf136b4;p=thirdparty%2Futil-linux.git Don't include version.h. (main): Use PACKAGE_VERSION instead of version_string. --- diff --git a/login-utils/su.c b/login-utils/su.c index 25168fc14d..81c9adba02 100644 --- a/login-utils/su.c +++ b/login-utils/su.c @@ -113,7 +113,6 @@ uid_t getuid (); #include #endif -#include "version.h" #include "error.h" /* The default PATH for simulated logins to non-superuser accounts. */ @@ -239,7 +238,7 @@ main (argc, argv) if (show_version) { - printf ("su - %s\n", version_string); + printf ("su - %s\n", PACKAGE_VERSION); exit (0); }