From 51d3ee85de73949483af79671fe9075a10e405e3 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 29 Jul 2018 13:32:50 +0100 Subject: try fixing the mkostemp header issue differently --- src/surface/wld.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/surface/wld.c b/src/surface/wld.c index 01bea75..51389b4 100644 --- a/src/surface/wld.c +++ b/src/surface/wld.c @@ -8,17 +8,14 @@ #define _XOPEN_SOURCE 500 -#include - /* deal with using -std=c99 and glibc changed to no have mkostemp with it set */ #ifndef _GNU_SOURCE #define _GNU_SOURCE -#include -#undef _GNU_SOURCE -#else -#include #endif +#include +#include +#include #include #include -- cgit v1.2.3