projects
/
openwrt
/
staging
/
nbd.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tools/fakeroot: update to 1.27
[openwrt/staging/nbd.git]
/
tools
/
fakeroot
/
patches
/
600-macOS.patch
1
--- a/communicate.c
2
+++ b/communicate.c
3
@@ -441,6 +441,10 @@ void semaphore_down(){
4
5
#else /* FAKEROOT_FAKENET */
6
7
+#ifndef SOL_TCP
8
+# define SOL_TCP 6 /* this should probably be done with getprotoent */
9
+#endif
10
+
11
static struct sockaddr *get_addr(void)
12
{
13
static struct sockaddr_in addr = { 0, 0, { 0 } };