bsdstubs: add include recursion guard

pull/1/merge
William Pitcock 2012-04-30 18:26:50 +00:00
parent c75779b55a
commit 0680b7d667
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,9 @@
#include "config.h" #include "config.h"
#ifndef __BSDSTUBS_H__
#define __BSDSTUBS_H__
#ifndef HAVE_STRLCPY #ifndef HAVE_STRLCPY
extern size_t strlcpy(char *dst, const char *src, size_t siz); extern size_t strlcpy(char *dst, const char *src, size_t siz);
#endif #endif
@ -35,3 +38,4 @@ extern size_t strlcat(char *dst, const char *src, size_t siz);
extern char *strndup(const char *src, size_t len); extern char *strndup(const char *src, size_t len);
#endif #endif
#endif