summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-snprintf.c
diff options
context:
space:
mode:
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 c30cd1223..9fdf4d3f0 100644
--- a/openbsd-compat/bsd-snprintf.c
+++ b/openbsd-compat/bsd-snprintf.c
@@ -108,6 +108,8 @@
108 108
109#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) 109#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
110 110
111#include <string.h>
112
111#ifdef HAVE_LONG_DOUBLE 113#ifdef HAVE_LONG_DOUBLE
112# define LDOUBLE long double 114# define LDOUBLE long double
113#else 115#else