diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-10-15 10:28:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-10-15 11:56:04 +0200 |
commit | e897fdc46b07f211c4c96de103cfa494b645035a (patch) | |
tree | 88927c958ede57efe91982a2727b3852c16158e9 /desktop | |
parent | 173bd208abc9aa0b6040dc11602c096a00440976 (diff) |
Fix check for inclusion of <sys/sysmacros.h>
30a5d201144cba04dd708c11d87cc5517c04c0c3 "Do not include <sys/sysmacros.h>
header unconditionally, but perform a check for it in the configure script" had
added an AC_DEFINE without a corresponding mention in any
config_host/config_*.h.in (we use AC_CONFIG_HEADERS), so the #ifdef was always
false.
The #include <sys/sysmacros.h> had been added with
01bf741a79241829b0d5c048e8f45e3cf6914d3e "WaE: include needed header" for the
declaration of a major function, but which is only used in #ifdef LINUX code
anyway.
Change-Id: I81b574c4a3e5fa2ef4e64a507b4841044217409b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104351
Tested-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/unx/source/pagein.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/unx/source/pagein.c b/desktop/unx/source/pagein.c index 2f42fd1df9dc..1dff59bd5143 100644 --- a/desktop/unx/source/pagein.c +++ b/desktop/unx/source/pagein.c @@ -25,7 +25,7 @@ #include <stdio.h> #include <string.h> #include <sys/stat.h> -#ifdef HAVE_SYS_SYSMACROS_H +#ifdef LINUX #include <sys/sysmacros.h> #endif #include <sys/types.h> |