summaryrefslogtreecommitdiffstats
path: root/partx/addpart.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:26:54 +0100
committerKarel Zak2006-12-07 00:26:54 +0100
commit48d7b13a1eab85fab91c8d6c5ddf298f733c74f5 (patch)
tree8813d36590ee3361bd75f57a12fd2032e9296ddb /partx/addpart.c
parentImported from util-linux-2.12r tarball. (diff)
downloadkernel-qcow2-util-linux-48d7b13a1eab85fab91c8d6c5ddf298f733c74f5.tar.gz
kernel-qcow2-util-linux-48d7b13a1eab85fab91c8d6c5ddf298f733c74f5.tar.xz
kernel-qcow2-util-linux-48d7b13a1eab85fab91c8d6c5ddf298f733c74f5.zip
Imported from util-linux-2.13-pre1 tarball.
Diffstat (limited to 'partx/addpart.c')
-rw-r--r--partx/addpart.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/partx/addpart.c b/partx/addpart.c
index 11d4305b9..004fee537 100644
--- a/partx/addpart.c
+++ b/partx/addpart.c
@@ -3,6 +3,9 @@
#include <fcntl.h>
#include <stdlib.h>
#include <sys/ioctl.h>
+#ifdef HAVE_LINUX_COMPILER_H
+#include <linux/compiler.h>
+#endif
#include <linux/blkpg.h>
int