summaryrefslogtreecommitdiffstats
path: root/src/partgptn.c
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/partgptn.c
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/partgptn.c')
-rw-r--r--src/partgptn.c3
1 files changed, 1 insertions, 2 deletions
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"