diff options
Diffstat (limited to 'fdisk/fdisk.c')
-rw-r--r-- | fdisk/fdisk.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c index 1aafdd286..33cf062f1 100644 --- a/fdisk/fdisk.c +++ b/fdisk/fdisk.c @@ -27,8 +27,10 @@ #include "fdisksgilabel.h" #include "fdiskaixlabel.h" -#include "../defines.h" -#ifdef HAVE_blkpg_h +#ifdef HAVE_LINUX_COMPILER_H +#include <linux/compiler.h> +#endif +#ifdef HAVE_LINUX_BLKPG_H #include <linux/blkpg.h> #endif @@ -2515,7 +2517,7 @@ main(int argc, char **argv) { break; case 'V': case 'v': - printf("fdisk v" UTIL_LINUX_VERSION "\n"); + printf("fdisk v" VERSION "\n"); exit(0); default: fatal(usage); |