aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanra <danra@users.noreply.github.com>2017-08-25 22:13:07 +0300
committerGitHub <noreply@github.com>2017-08-25 22:13:07 +0300
commiteefc2f36f306bf522776c83e797fd235747b85b4 (patch)
treea235084b78cbd50a4e021e7c98dc37541db52d0c
parent3f726c99f819f97f2ab21b94d34c6b3129cd883a (diff)
Move local include to before system includes
Prevents accidental missing includes and hidden dependencies in the local file.
-rw-r--r--src/compat/endian.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compat/endian.h b/src/compat/endian.h
index 79d6b2fdbb..dbf178f53c 100644
--- a/src/compat/endian.h
+++ b/src/compat/endian.h
@@ -9,10 +9,10 @@
#include "config/bitcoin-config.h"
#endif
-#include <stdint.h>
-
#include "compat/byteswap.h"
+#include <stdint.h>
+
#if defined(HAVE_ENDIAN_H)
#include <endian.h>
#elif defined(HAVE_SYS_ENDIAN_H)