aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/crand.c
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-12-01 00:28:52 +0100
committerKim Alvefur <zash@zash.se>2017-12-01 00:28:52 +0100
commit1138703cedd72b370e3f27b07295fced1dfc58ca (patch)
treec770127d76ee74804c5ccac48008dda3254683ea /util-src/crand.c
parentac6e7808c2d2c173b5ee72ede108031094d4f07f (diff)
downloadprosody-1138703cedd72b370e3f27b07295fced1dfc58ca.tar.gz
prosody-1138703cedd72b370e3f27b07295fced1dfc58ca.zip
util.crand: Reorder includes so system ones are first
Diffstat (limited to 'util-src/crand.c')
-rw-r--r--util-src/crand.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/util-src/crand.c b/util-src/crand.c
index 51d934c8..e3bed451 100644
--- a/util-src/crand.c
+++ b/util-src/crand.c
@@ -22,13 +22,12 @@
#define _DEFAULT_SOURCE
#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
#include "lualib.h"
#include "lauxlib.h"
-#include <string.h>
-#include <errno.h>
-
#if defined(WITH_GETRANDOM)
#ifndef __GLIBC_PREREQ