]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/sctp_crc32: include acconfig.h for the detecting endianness
authorKefu Chai <kchai@redhat.com>
Tue, 9 May 2017 07:04:02 +0000 (15:04 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 10 May 2017 15:12:30 +0000 (23:12 +0800)
so byteorder.h can be a pure c++ header.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/sctp_crc32.c

index 646a401eba6032d5644d63490d7081f04fc72c74..a8deb07fe5faf1eb87522190988be6dbcc25c885 100644 (file)
@@ -43,6 +43,8 @@ __FBSDID("$FreeBSD: src/sys/netinet/sctp_crc32.c,v 1.8 2007/05/08 17:01:10 rrs E
 
 #include <stdint.h>
 
+#include "acconfig.h"
+
 #ifndef SCTP_USE_ADLER32