From 4682deeb62247d34de87f8e777f99e2d337fd377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 20 Oct 2024 15:21:43 +0200 Subject: New upstream version 1.3 --- tests/sockets.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/sockets.h') diff --git a/tests/sockets.h b/tests/sockets.h index 99d6efca..55077ae9 100644 --- a/tests/sockets.h +++ b/tests/sockets.h @@ -25,6 +25,10 @@ #error "Please include config.h first." #endif +#ifdef __cplusplus +extern "C" { +#endif + #define SOCKETS_1_0 0x0001 #define SOCKETS_1_1 0x0101 #define SOCKETS_2_0 0x0002 @@ -43,6 +47,11 @@ int gl_sockets_cleanup (void) #endif ; +#ifdef __cplusplus +} +#endif + + /* This function is useful it you create a socket using gnulib's Winsock wrappers but needs to pass on the socket handle to some other library that only accepts sockets. */ -- cgit v1.2.3