repo.or.cz
/
haiku.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vfs: check userland buffers before reading them.
[haiku.git]
/
src
/
add-ons
/
media
/
media-add-ons
/
esound_sink
/
compat.h
blob
f8f171568635cbac8766466d76766a5d57da498b
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 */