diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2025-03-22 18:00:25 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2025-03-22 18:00:25 +0100 |
commit | 0737819efdd0bae112d16d874cac7e747e43cd08 (patch) | |
tree | 98a9ac84f7f347ae530c14852c68870682f3d04c /tests/sockets.h | |
parent | 163a663518f33bab48b28431972e580b366b4d49 (diff) | |
parent | e670957a8693f860cf7d77fed4ce6b4b056a8083 (diff) |
Merge branch 'release/debian/1.3-1'debian/1.3-1
Diffstat (limited to 'tests/sockets.h')
-rw-r--r-- | tests/sockets.h | 9 |
1 files changed, 9 insertions, 0 deletions
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. */ |