summaryrefslogtreecommitdiff
path: root/fdisk/fdisk.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2006-12-07 00:26:54 +0100
committerKarel Zak <kzak@redhat.com>2006-12-07 00:26:54 +0100
commit48d7b13a1eab85fab91c8d6c5ddf298f733c74f5 (patch)
tree8813d36590ee3361bd75f57a12fd2032e9296ddb /fdisk/fdisk.c
parent2ab8f9d3cec110ce8291f2525fe90239aeef8376 (diff)
downloadutil-linux-old-48d7b13a1eab85fab91c8d6c5ddf298f733c74f5.tar.gz
Imported from util-linux-2.13-pre1 tarball.
Diffstat (limited to 'fdisk/fdisk.c')
-rw-r--r--fdisk/fdisk.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c
index 1aafdd28..33cf062f 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);