summaryrefslogtreecommitdiffstats
path: root/source/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/includes.h')
-rw-r--r--source/include/includes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 6dd8285b88d..c4f7141ec4b 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -716,9 +716,15 @@ time_t mktime(struct tm *t);
int ftruncate(int f,long l);
#endif
+#ifndef HAVE_STRTOUL
+unsigned long strtoul(const char *nptr, char **endptr, int base);
+#endif
+
#if (defined(HAVE_SETRESUID) && !defined(HAVE_SETRESUID_DECL))
/* stupid glibc */
int setresuid(uid_t ruid, uid_t euid, uid_t suid);
+#endif
+#if (defined(HAVE_SETRESGID) && !defined(HAVE_SETRESGID_DECL))
int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
#endif