extern "C" wrapper needed for inclusion from C++

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3870 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer 2003-07-06 10:30:56 +00:00
parent 155ae4c5cb
commit c47667231a

View File

@ -8,6 +8,10 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef uint32 socklen_t;
/* These are the address/protocol families we'll be using... */
@ -252,5 +256,9 @@ int getpeername(int, struct sockaddr *, int *);
int getsockname(int, struct sockaddr *, int *);
#endif /* _KERNEL_MODE */
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* _SYS_SOCKET_H */