summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake8
1 files changed, 6 insertions, 2 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 2f382cc73..b2daa5979 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -1153,6 +1153,7 @@ __END_DECLS
#endif
#ifdef __cplusplus
extern "C"
+{
#endif
#if !defined(HAVE_VSNPRINTF_PROTO)
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
@@ -1161,7 +1162,7 @@ int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
int snprintf(char *str, size_t n, char const *fmt, ...);
#endif
#ifdef __cplusplus
-extern "C"
+}
#endif
#endif
@@ -1222,7 +1223,10 @@ extern "C"
#define HAVE_SETEUID_FAKE
#ifdef __cplusplus
extern "C"
+{
#endif
int seteuid(INT32_BASETYPE euid); /* defined in fakes.c */
+#ifdef __cplusplus
+}
+#endif
#endif
-