summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLei Zhang <thestig@google.com>2014-01-17 03:20:45 -0800
committerMark Wielaard <mjw@redhat.com>2014-01-17 13:35:47 +0100
commitdca862bff918446f7e6fffc7f62d75663c73028f (patch)
treeb54fc889dcd0f949cc2da29c4c7af7d9f3fca056
parent7c6e785e6eca774080a64801f950bd61785c469e (diff)
lib: Add missing config.h #include to crc32_file.c.
Without config.h, there is no possibility of large file support. Signed-off-by: Mark Wielaard <mjw@redhat.com>
-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 <thestig@google.com>
+
+ * crc32_file.c: Include config.h.
+
2013-12-12 Josh Stone <jistone@redhat.com>
* 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>