aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-08-28 17:25:31 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-08-28 17:57:44 +0200
commitcee4fe1d53b2e1ff91ff48bc881cb41dfba01c52 (patch)
tree5b757cd6c5d693447c3f05c3a9bf8b2a4c07a73a /src
parentf088a1bb392eaecd912ff9bca6967a8f4765c2b7 (diff)
parenteefc2f36f306bf522776c83e797fd235747b85b4 (diff)
Merge #11144: Move local include to before system includes
eefc2f3 Move local include to before system includes (danra) Pull request description: Prevents accidental missing includes and hidden dependencies in the local file. Tree-SHA512: 466b9dd53c596980fdbcccf1dfd8f34eb7ec5b32323ccb635e5705efcedc81af8fbe155ac57b9a2fc5c1f516489e940d1762b3508ded1fb54e187219bb9f75e6
Diffstat (limited to 'src')
-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)