From 45c138c319fe940741aa1e8224751b6d9ef55d6f Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Thu, 22 Aug 2019 09:20:45 +0200 Subject: [PATCH] Fix compilation on Debian kfreebsd-amd64 and kfreebsd-i386. Thanks to Jean-Michel Kelbert, TestDisk's maintainer on Debian, for integrating the patch. --- src/partgpt.c | 3 +-- src/partgptn.c | 3 +-- src/partgptw.c | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/partgpt.c b/src/partgpt.c index 0652a098..025439d1 100644 --- a/src/partgpt.c +++ b/src/partgpt.c @@ -38,8 +38,7 @@ #include #elif defined(HAVE_UUID_UUID_H) #include -#endif -#if defined(HAVE_SYS_UUID_H) +#elif defined(HAVE_SYS_UUID_H) #include #endif #include diff --git a/src/partgptn.c b/src/partgptn.c index dbe320a6..74b76ce4 100644 --- a/src/partgptn.c +++ b/src/partgptn.c @@ -38,8 +38,7 @@ #include #elif defined(HAVE_UUID_UUID_H) #include -#endif -#if defined(HAVE_SYS_UUID_H) +#elif defined(HAVE_SYS_UUID_H) #include #endif #include "common.h" diff --git a/src/partgptw.c b/src/partgptw.c index 65cbaacd..0621e1b7 100644 --- a/src/partgptw.c +++ b/src/partgptw.c @@ -37,8 +37,7 @@ #include #elif defined(HAVE_UUID_UUID_H) #include -#endif -#if defined(HAVE_SYS_UUID_H) +#elif defined(HAVE_SYS_UUID_H) #include #endif #include "common.h"