summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-snprintf.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-07-24 15:08:35 +1000
committerDamien Miller <djm@mindrot.org>2006-07-24 15:08:35 +1000
commit62da44f0644f5d1cc7fa3b6b967482b5d2f15aa2 (patch)
treeb08bc041e8d15a630a3fad05e8f5c85145b6fc31 /openbsd-compat/bsd-snprintf.c
parentad5ecbf07227a5c7e1423adf7c68c6cfb05bbd1e (diff)
- (djm) [openbsd-compat/basename.c openbsd-compat/bsd-closefrom.c]
[openbsd-compat/bsd-cray.c openbsd-compat/bsd-openpty.c] [openbsd-compat/bsd-snprintf.c openbsd-compat/fake-rfc2553.c] [openbsd-compat/port-aix.c openbsd-compat/port-irix.c] [openbsd-compat/rresvport.c] These look to need string.h and/or unistd.h (based on a grep for function names)
Diffstat (limited to 'openbsd-compat/bsd-snprintf.c')
-rw-r--r--openbsd-compat/bsd-snprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-snprintf.c b/openbsd-compat/bsd-snprintf.c
index c30cd122..9fdf4d3f 100644
--- a/openbsd-compat/bsd-snprintf.c
+++ b/openbsd-compat/bsd-snprintf.c
@@ -108,6 +108,8 @@
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
+#include <string.h>
+
#ifdef HAVE_LONG_DOUBLE
# define LDOUBLE long double
#else