Signed-off-by: Karel Zak <kzak@redhat.com>
#include "wholedisk.h"
#ifdef HAVE_LIBUUID
-#include <uuid/uuid.h>
+# ifdef HAVE_UUID_UUID_H
+# include <uuid/uuid.h>
+#else
+# include <uuid.h>
+# endif
#endif
static char * program_name = "mkswap";
#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"