summaryrefslogtreecommitdiff
path: root/lib/include/radsec/request-impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include/radsec/request-impl.h')
-rw-r--r--lib/include/radsec/request-impl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/include/radsec/request-impl.h b/lib/include/radsec/request-impl.h
index 339dfea..02b7713 100644
--- a/lib/include/radsec/request-impl.h
+++ b/lib/include/radsec/request-impl.h
@@ -1,5 +1,9 @@
/* See the file COPYING for licensing information. */
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
struct rs_request
{
struct rs_connection *conn;
@@ -8,3 +12,7 @@ struct rs_request
struct rs_packet *resp;
struct rs_conn_callbacks saved_cb;
};
+
+#if defined (__cplusplus)
+}
+#endif