summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorGleb Popov <6yearold@gmail.com>2020-10-12 18:50:00 +0400
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-10-15 09:59:38 +0200
commit30a5d201144cba04dd708c11d87cc5517c04c0c3 (patch)
tree1a0802d110492a76db514e9e65d8e6092c52b2d5 /desktop
parente64daeda4423255105116606fff4be5069eb6fbf (diff)
Do not include <sys/sysmacros.h> header unconditionally, but perform a check for it in the configure script.
This header is missing at least on FreeBSD. Change-Id: Iecb8c35e2ea8af84cf1488334a4d39ba0b5af7e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104214 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/unx/source/pagein.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/unx/source/pagein.c b/desktop/unx/source/pagein.c
index 03aa50d99c9d..2f42fd1df9dc 100644
--- a/desktop/unx/source/pagein.c
+++ b/desktop/unx/source/pagein.c
@@ -25,7 +25,9 @@
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
+#ifdef HAVE_SYS_SYSMACROS_H
#include <sys/sysmacros.h>
+#endif
#include <sys/types.h>
/* do_pagein */