Commit 3ec75772 authored by Gildas Bazin's avatar Gildas Bazin

* include/network.h: fixed compilation with c++ files.

parent 0d081737
......@@ -47,6 +47,9 @@
# include <netdb.h>
#endif
# ifdef __cplusplus
extern "C" {
# endif
/*****************************************************************************
* network_socket_t: structure passed to a network plug-in to define the
......@@ -551,4 +554,8 @@ static inline int net_GetPeerAddress( int fd, char *address, int *port )
? VLC_EGENERIC : 0;
}
# ifdef __cplusplus
}
# endif
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment