xref: /haiku/src/add-ons/media/media-add-ons/esound_sink/compat.h (revision 21258e2674226d6aa732321b6f8494841895af5f)
1 
2 #ifndef _COMPAT_H
3 #define _COMPAT_H
4 
5 #include <sys/socket.h>
6 #include <netinet/in.h>
7 #include <unistd.h>
8 
9 #if defined(__HAIKU__) || defined(BONE_VERSION)
10 # define closesocket close
11 #endif
12 /* net_server */
13 
14 #endif /* _COMPAT_H */
15