From 8e8d49e11772c5537a1cac8b5c04a85bc627a644 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 3 Jul 2023 21:28:03 +0000 Subject: [PATCH] minor() is in on BSDs src/direct/direct-export-buf.c:10:10: fatal error: 'sys/sysmacros.h' file not found #include ^~~~~~~~~~~~~~~~~ src/export-buf.c:11:10: fatal error: 'sys/sysmacros.h' file not found #include ^~~~~~~~~~~~~~~~~ --- src/direct/direct-export-buf.c | 2 ++ src/export-buf.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/direct/direct-export-buf.c b/src/direct/direct-export-buf.c index abc5e72..db9c5df 100644 --- a/src/direct/direct-export-buf.c +++ b/src/direct/direct-export-buf.c @@ -7,7 +7,9 @@ #include #include #include +#ifdef __linux__ #include +#endif #include #include "../backend-common.h" diff --git a/src/export-buf.c b/src/export-buf.c index b707985..c355726 100644 --- a/src/export-buf.c +++ b/src/export-buf.c @@ -8,7 +8,9 @@ #include #include #include +#ifdef __linux__ #include +#endif #include #include