build-sys: fix headers in mkswap and libblkid

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2009-05-18 15:59:55 +02:00
parent 6fed18f290
commit 8c0dc0719d
2 changed files with 13 additions and 4 deletions

View File

@ -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";

View File

@ -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"