Software / code / prosody
Changeset
8423:65c82a7d0537
util.crand: Reorder includes so system ones are first
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 01 Dec 2017 00:28:52 +0100 |
| parents | 8422:6eecf82ccd8e |
| children | 8424:b0a267f77d9e |
| files | util-src/crand.c |
| diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/util-src/crand.c Fri Dec 01 00:27:37 2017 +0100 +++ b/util-src/crand.c Fri Dec 01 00:28:52 2017 +0100 @@ -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