summaryrefslogtreecommitdiff
path: root/lib/ext2fs/crc16.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ext2fs/crc16.c')
-rw-r--r--lib/ext2fs/crc16.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ext2fs/crc16.c b/lib/ext2fs/crc16.c
index 86091a41..026f040b 100644
--- a/lib/ext2fs/crc16.c
+++ b/lib/ext2fs/crc16.c
@@ -5,6 +5,11 @@
* Version 2. See the file COPYING for more details.
*/
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#include <ext2fs/ext2_types.h>
+
#include "crc16.h"
/** CRC table for the CRC-16. The poly is 0x8005 (x16 + x15 + x2 + 1) */