build-sys: fix headers in mkswap and libblkid
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
6fed18f290
commit
8c0dc0719d
|
@ -57,7 +57,11 @@
|
|||
#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";
|
||||
|
|
|
@ -24,11 +24,16 @@
|
|||
#include <errno.h>
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
#ifdef HAVE_LIBUUID
|
||||
#include <uuid/uuid.h>
|
||||
#endif
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef HAVE_LIBUUID
|
||||
# ifdef HAVE_UUID_UUID_H
|
||||
# include <uuid/uuid.h>
|
||||
#else
|
||||
# include <uuid.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "blkdev.h"
|
||||
#include "blkidP.h"
|
||||
#include "probers/probers.h"
|
||||
|
|
Loading…
Reference in New Issue