mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
14 lines
313 B
Diff
14 lines
313 B
Diff
|
--- a/communicate.c
|
||
|
+++ b/communicate.c
|
||
|
@@ -441,6 +441,10 @@ void semaphore_down(){
|
||
|
|
||
|
#else /* FAKEROOT_FAKENET */
|
||
|
|
||
|
+#ifndef SOL_TCP
|
||
|
+# define SOL_TCP 6 /* this should probably be done with getprotoent */
|
||
|
+#endif
|
||
|
+
|
||
|
static struct sockaddr *get_addr(void)
|
||
|
{
|
||
|
static struct sockaddr_in addr = { 0, 0, { 0 } };
|