Whamcloud - gitweb
libext2fs: fix crash when ext2fs_mmp_stop() is called before MMP is initialized
[tools/e2fsprogs.git] / lib / ext2fs / crc16.c
index 86091a4..2fdeb24 100644 (file)
@@ -5,6 +5,12 @@
  * Version 2. See the file COPYING for more details.
  */
 
+#include "config.h"
+#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) */