summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'nanohttp/nanohttp-common.h')
-rw-r--r--nanohttp/nanohttp-common.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-common.h b/nanohttp/nanohttp-common.h
index d982d51..736f84c 100644
--- a/nanohttp/nanohttp-common.h
+++ b/nanohttp/nanohttp-common.h
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: nanohttp-common.h,v 1.25 2006/02/18 20:14:36 snowdrop Exp $
+ * $Id: nanohttp-common.h,v 1.26 2006/02/27 00:26:23 snowdrop Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -24,6 +24,10 @@
#ifndef NANO_HTTP_COMMON_H
#define NANO_HTTP_COMMON_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdlib.h>
#include <time.h>
@@ -528,6 +532,8 @@ void log_info(const char *FUNC, const char *format, ...);
void log_warn(const char *FUNC, const char *format, ...);
void log_error(const char *FUNC, const char *format, ...);
-
+#ifdef __cplusplus
+}
+#endif
#endif