aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
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
commitbfaca2ef001cd67e012c218a8e4c5e532a10312a (patch)
treec770127d76ee74804c5ccac48008dda3254683ea /util-src
parenta128e97e03539bf324ce12c3e980c5bf27c62644 (diff)
downloadprosody-bfaca2ef001cd67e012c218a8e4c5e532a10312a.tar.gz
prosody-bfaca2ef001cd67e012c218a8e4c5e532a10312a.zip
util.crand: Reorder includes so system ones are first
Diffstat (limited to 'util-src')
-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