summaryrefslogtreecommitdiff
path: root/libiberty/strtoul.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/strtoul.c')
-rw-r--r--libiberty/strtoul.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libiberty/strtoul.c b/libiberty/strtoul.c
index 59d428cd49e..87fa3ffdf93 100644
--- a/libiberty/strtoul.c
+++ b/libiberty/strtoul.c
@@ -28,7 +28,15 @@
* SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#ifdef HAVE_LIMITS_H
#include <limits.h>
+#endif
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#include <ctype.h>
#include <errno.h>
#ifdef NEED_DECLARATION_ERRNO