[PATCH] ubifs: fix inclusion of uuid.h
Rolf Eike Beer
eb at emlix.com
Mon Jul 10 04:54:24 PDT 2017
From de17ee444ad4d523131806e4afe07c41a4c310d1 Mon Sep 17 00:00:00 2001
From: Rolf Eike Beer <eb at emlix.com>
Date: Mon, 10 Jul 2017 13:43:06 +0200
Subject: [PATCH] ubifs: fix inclusion of uuid.h
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 at emlix.com>
---
ubifs-utils/mkfs.ubifs/mkfs.ubifs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.h b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.h
index 944a159..1321191 100644
--- a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.h
+++ b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.h
@@ -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>
--
2.13.2
--
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Bertha-von-Suttner-Str. 9, 37085 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055
emlix – smart embedded open source
More information about the linux-mtd
mailing list