From 230276123bb8e00f3537a98ad0958a9b4edd4032 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Mon, 11 Jan 2010 07:37:05 +0200 Subject: [PATCH] --- include/bouncer.h | 1 + include/system.h | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/include/bouncer.h b/include/bouncer.h index 76d2437..c23098f 100644 --- a/include/bouncer.h +++ b/include/bouncer.h @@ -25,6 +25,7 @@ #include #include #include +#include #include diff --git a/include/system.h b/include/system.h index d91444c..5adfe9b 100644 --- a/include/system.h +++ b/include/system.h @@ -49,7 +49,6 @@ #include #include -#include #include #include #include @@ -117,18 +116,9 @@ do { \ * libc compat functions. */ -#ifndef HAVE_STRLCPY -size_t strlcpy(char *dst, const char *src, size_t n) _MUSTCHECK; -#endif -#ifndef HAVE_STRLCAT -size_t strlcat(char *dst, const char *src, size_t n) _MUSTCHECK; -#endif #ifndef HAVE_GETPEEREID int getpeereid(int fd, uid_t *uid_p, gid_t *gid_p) _MUSTCHECK; #endif -#ifndef HAVE_BASENAME -const char *basename(const char *path); -#endif #ifndef HAVE_CRYPT static inline char *crypt(const char *p, const char *s) { return NULL; } #endif -- 2.40.0