summaryrefslogtreecommitdiff
path: root/xserver/include/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/include/os.h')
-rw-r--r--xserver/include/os.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/xserver/include/os.h b/xserver/include/os.h
index 38536a60c..e5635f899 100644
--- a/xserver/include/os.h
+++ b/xserver/include/os.h
@@ -50,16 +50,13 @@ SOFTWARE.
#include "misc.h"
#include <stdarg.h>
#include <stdint.h>
+#if defined(HAVE_REALLOCARRAY)
+#include <stdlib.h> /* for reallocarray */
+#endif
#include <string.h>
#ifdef MONOTONIC_CLOCK
#include <time.h>
#endif
-#if defined(HAVE_LIBBSD) && defined(HAVE_REALLOCARRAY)
-#include <bsd/stdlib.h> /* for reallocarray */
-#endif
-#if defined(HAVE_LIBBSD) && defined(HAVE_STRLCPY)
-#include <bsd/string.h> /* for strlcpy, strlcat */
-#endif
#define SCREEN_SAVER_ON 0
#define SCREEN_SAVER_OFF 1