summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/ar.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9a3b2eea..26920df1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2007-02-05 Roland McGrath <[email protected]>
+
+ * ar.c: Include <limits.h>, since we use LONG_MAX.
+
2007-02-05 Ulrich Drepper <[email protected]>
* ar.r: Add ugly hack to work around gcc complaining that we
diff --git a/src/ar.c b/src/ar.c
index 37fa3e03..92487ac8 100644
--- a/src/ar.c
+++ b/src/ar.c
@@ -33,6 +33,7 @@
#include <fcntl.h>
#include <gelf.h>
#include <libintl.h>
+#include <limits.h>
#include <locale.h>
#include <mcheck.h>
#include <search.h>