summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/crc32_file.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 9b8899e2..44152131 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2014-01-17 Lei Zhang <[email protected]>
+
+ * crc32_file.c: Include config.h.
+
2013-12-12 Josh Stone <[email protected]>
* dynamicsizehash.c (lookup): Add a shortcut around division.
diff --git a/lib/crc32_file.c b/lib/crc32_file.c
index 9a168f64..c0b18e91 100644
--- a/lib/crc32_file.c
+++ b/lib/crc32_file.c
@@ -26,6 +26,10 @@
the GNU Lesser General Public License along with this program. If
not, see <http://www.gnu.org/licenses/>. */
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include "system.h"
#include <errno.h>
#include <unistd.h>