summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src/os/os2/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/httpd/src/os/os2/os.h')
-rw-r--r--usr.sbin/httpd/src/os/os2/os.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/httpd/src/os/os2/os.h b/usr.sbin/httpd/src/os/os2/os.h
index 4ce97ce584e..5a37e4e764f 100644
--- a/usr.sbin/httpd/src/os/os2/os.h
+++ b/usr.sbin/httpd/src/os/os2/os.h
@@ -47,6 +47,9 @@ char *ap_os_error_message(int err);
#define HAVE_ISINF
#define HAVE_ISNAN
+/* strtol() correctly returns ERANGE on overflow, use it */
+#define ap_strtol strtol
+
/* Dynamic loading functions */
#define ap_os_dso_handle_t unsigned long
void ap_os_dso_init(void);