summaryrefslogtreecommitdiffstats
path: root/shlibs/blkid/src/probe.c
diff options
context:
space:
mode:
authorKarel Zak2009-05-18 15:59:55 +0200
committerKarel Zak2009-05-22 10:06:15 +0200
commit8c0dc0719d4765f50c77b22acf2812b6e0fe74df (patch)
treea592b3503ef8b329ec3a1548365aef7fea300274 /shlibs/blkid/src/probe.c
parentbuild-sys: add UTIL_{SET,RESTORE}_FLAGS (diff)
downloadkernel-qcow2-util-linux-8c0dc0719d4765f50c77b22acf2812b6e0fe74df.tar.gz
kernel-qcow2-util-linux-8c0dc0719d4765f50c77b22acf2812b6e0fe74df.tar.xz
kernel-qcow2-util-linux-8c0dc0719d4765f50c77b22acf2812b6e0fe74df.zip
build-sys: fix headers in mkswap and libblkid
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/blkid/src/probe.c')
-rw-r--r--shlibs/blkid/src/probe.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/shlibs/blkid/src/probe.c b/shlibs/blkid/src/probe.c
index 38d42762f..b2b888d40 100644
--- a/shlibs/blkid/src/probe.c
+++ b/shlibs/blkid/src/probe.c
@@ -24,10 +24,15 @@
#include <errno.h>
#endif
#include <stdint.h>
+#include <stdarg.h>
+
#ifdef HAVE_LIBUUID
-#include <uuid/uuid.h>
+# ifdef HAVE_UUID_UUID_H
+# include <uuid/uuid.h>
+#else
+# include <uuid.h>
+# endif
#endif
-#include <stdarg.h>
#include "blkdev.h"
#include "blkidP.h"