aboutsummaryrefslogtreecommitdiff
path: root/lib/roken/strtoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/roken/strtoll.c')
-rw-r--r--lib/roken/strtoll.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/roken/strtoll.c b/lib/roken/strtoll.c
index 1be8761313a3..2e038bf30d6c 100644
--- a/lib/roken/strtoll.c
+++ b/lib/roken/strtoll.c
@@ -38,6 +38,8 @@
#include "roken.h"
+#ifndef HAVE_STRTOLL
+
/* #include <sys/cdefs.h> */
#include <limits.h>
@@ -146,4 +148,4 @@ noconv:
*endptr = (char *)(any ? s - 1 : nptr);
return (acc);
}
-
+#endif /* !HAVE_STRTOLL */