0
0
mirror of https://github.com/openwrt/packages.git synced 2025-01-31 03:41:44 +00:00
packages/utils/rtl-ais/patches/010-musl.patch
Rosen Penev 2b29d8356e rtl-ais: Add missing header
Fixes -Wimplicit-function-declaration

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-05 11:56:00 +02:00

11 lines
229 B
Diff

--- a/tcp_listener/tcp_listener.c
+++ b/tcp_listener/tcp_listener.c
@@ -6,6 +6,7 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <pthread.h>