]> www.infradead.org Git - mtd-utils.git/commitdiff
mkfs-ubifs: fix inclusion of uuid.h
authorRolf Eike Beer <eb@emlix.com>
Mon, 10 Jul 2017 11:54:24 +0000 (13:54 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 10 Jul 2017 11:59:47 +0000 (13:59 +0200)
The include directory exported by uuid.pc is */include/uuid, so uuid.h
must be included without any directory in the path. This usually works
out because uuid is installed in the normal prefix, so the parent
directory of what uuid has as include dir ends up in the include path
anyway. In case one uses a custom uuid outside of the regular include
path this breaks.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/mkfs.ubifs/mkfs.ubifs.h

index 944a1593c61523934b807cba0ae6489efa400417..132119167fa5bb53b9ab292c24352b94fcb1ea0f 100644 (file)
@@ -43,7 +43,7 @@
 #include <errno.h>
 #include <libgen.h>
 #include <ctype.h>
-#include <uuid/uuid.h>
+#include <uuid.h>
 #include <sys/file.h>
 
 #include <mtd/ubifs-media.h>