summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2019-08-22 09:20:45 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2019-08-22 09:20:45 +0200
commit45c138c319fe940741aa1e8224751b6d9ef55d6f (patch)
treee540caa624df49a99b7292cb651ba8e2570985f9 /src
parent65eea944b628e817fb952620e16634da400ddb48 (diff)
Fix compilation on Debian kfreebsd-amd64 and kfreebsd-i386.
Thanks to Jean-Michel Kelbert, TestDisk's maintainer on Debian, for integrating the patch.
Diffstat (limited to 'src')
-rw-r--r--src/partgpt.c3
-rw-r--r--src/partgptn.c3
-rw-r--r--src/partgptw.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/src/partgpt.c b/src/partgpt.c
index 0652a09..025439d 100644
--- a/src/partgpt.c
+++ b/src/partgpt.c
@@ -38,8 +38,7 @@
#include <uuid.h>
#elif defined(HAVE_UUID_UUID_H)
#include <uuid/uuid.h>
-#endif
-#if defined(HAVE_SYS_UUID_H)
+#elif defined(HAVE_SYS_UUID_H)
#include <sys/uuid.h>
#endif
#include <assert.h>
diff --git a/src/partgptn.c b/src/partgptn.c
index dbe320a..74b76ce 100644
--- a/src/partgptn.c
+++ b/src/partgptn.c
@@ -38,8 +38,7 @@
#include <uuid.h>
#elif defined(HAVE_UUID_UUID_H)
#include <uuid/uuid.h>
-#endif
-#if defined(HAVE_SYS_UUID_H)
+#elif defined(HAVE_SYS_UUID_H)
#include <sys/uuid.h>
#endif
#include "common.h"
diff --git a/src/partgptw.c b/src/partgptw.c
index 65cbaac..0621e1b 100644
--- a/src/partgptw.c
+++ b/src/partgptw.c
@@ -37,8 +37,7 @@
#include <uuid.h>
#elif defined(HAVE_UUID_UUID_H)
#include <uuid/uuid.h>
-#endif
-#if defined(HAVE_SYS_UUID_H)
+#elif defined(HAVE_SYS_UUID_H)
#include <sys/uuid.h>
#endif
#include "common.h"