summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2017-05-10 10:56:16 -0400
committerAdam Jackson <ajax@redhat.com>2017-05-10 10:56:16 -0400
commite9dbecf7c259f7e8b610fa93f97ea55f5dafa7af (patch)
tree2a8ecc760f584f9fdb84ca15f92a149e822c1ec4 /os
parent5d3b6cc221aff5b9322b31aa6f5ae922271bc7d8 (diff)
timingsafe_memcmp: Fix meson build
Include dix-config.h first to pick up _GNU_SOURCE so we get the definition for sigset_t. Reported-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'os')
-rw-r--r--os/timingsafe_memcmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/timingsafe_memcmp.c b/os/timingsafe_memcmp.c
index 65679c87a..4eaba627e 100644
--- a/os/timingsafe_memcmp.c
+++ b/os/timingsafe_memcmp.c
@@ -14,10 +14,10 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <dix-config.h>
#include <limits.h>
#include <string.h>
#include <X11/Xfuncproto.h>
-#include <dix-config.h>
#include "os.h"
int