From 0680b7d667f92835d901a41fcbfcb3e8e3d947e3 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 30 Apr 2012 18:26:50 +0000 Subject: [PATCH] bsdstubs: add include recursion guard --- bsdstubs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bsdstubs.h b/bsdstubs.h index 7361af8..d0f821a 100644 --- a/bsdstubs.h +++ b/bsdstubs.h @@ -23,6 +23,9 @@ #include "config.h" +#ifndef __BSDSTUBS_H__ +#define __BSDSTUBS_H__ + #ifndef HAVE_STRLCPY extern size_t strlcpy(char *dst, const char *src, size_t siz); #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); #endif +#endif