summaryrefslogtreecommitdiff
path: root/dln.h
diff options
context:
space:
mode:
Diffstat (limited to 'dln.h')
-rw-r--r--dln.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/dln.h b/dln.h
index 1a7e002551..c6f9654eb6 100644
--- a/dln.h
+++ b/dln.h
@@ -13,6 +13,15 @@
#ifndef DLN_H
#define DLN_H
+#ifdef __cplusplus
+# ifndef HAVE_PROTOTYPES
+# define HAVE_PROTOTYPES 1
+# endif
+# ifndef HAVE_STDARG_PROTOTYPES
+# define HAVE_STDARG_PROTOTYPES 1
+# endif
+#endif
+
#undef _
#ifdef HAVE_PROTOTYPES
# define _(args) args