aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-05-14 17:06:57 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-05-14 17:06:57 -0400
commit529e2ab17828943cf5004534429eab7a0b08cf91 (patch)
tree8a181397a8b50e851f4c97bbf8fe28c79b34f6f7 /src
parenta1de2ea15481fb00ebea01a10668f0ff3eb56da3 (diff)
parentd3a904309b8a685ebb0540c04f8825b2dda3e4ff (diff)
downloadrneovim-529e2ab17828943cf5004534429eab7a0b08cf91.tar.gz
rneovim-529e2ab17828943cf5004534429eab7a0b08cf91.tar.bz2
rneovim-529e2ab17828943cf5004534429eab7a0b08cf91.zip
Merge pull request #4755 from jszakmeister/fix-endian-h-on-bsd
Fix be64toh() detection on BSDs.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/shada.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/shada.c b/src/nvim/shada.c
index 3192be1b3c..51c8597d53 100644
--- a/src/nvim/shada.c
+++ b/src/nvim/shada.c
@@ -46,7 +46,7 @@
#ifdef HAVE_BE64TOH
# define _BSD_SOURCE 1
# define _DEFAULT_SOURCE 1
-# include <endian.h>
+# include ENDIAN_INCLUDE_FILE
#endif
// Note: when using bufset hash pointers are intentionally casted to uintptr_t