diff --git a/lib/roken/roken.h b/lib/roken/roken.h index 30c7c83d0..22b81de7a 100644 --- a/lib/roken/roken.h +++ b/lib/roken/roken.h @@ -3,6 +3,8 @@ #ifndef __ROKEN_H__ #define __ROKEN_H__ +#include +#include #include #include @@ -35,10 +37,6 @@ typedef RETSIGTYPE (*SigAction)(/* int??? */); SigAction signal(int iSig, SigAction pAction); /* BSD compatible */ #endif -#ifndef HAVE_SNPRINTF -int snprintf(char *s, int n, const char *fmt, ...); -#endif - #ifndef HAVE_STRERROR char *strerror(int eno); #endif diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 30c7c83d0..22b81de7a 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -3,6 +3,8 @@ #ifndef __ROKEN_H__ #define __ROKEN_H__ +#include +#include #include #include @@ -35,10 +37,6 @@ typedef RETSIGTYPE (*SigAction)(/* int??? */); SigAction signal(int iSig, SigAction pAction); /* BSD compatible */ #endif -#ifndef HAVE_SNPRINTF -int snprintf(char *s, int n, const char *fmt, ...); -#endif - #ifndef HAVE_STRERROR char *strerror(int eno); #endif