diff options
author | Rosen Penev <rosenp@gmail.com> | 2019-07-17 18:37:17 -0700 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-04 13:36:04 +0200 |
commit | ad645323340ace0634e8f75150fbfb6fa4414815 (patch) | |
tree | 7d408aa0bbca7c065df6888329f7c60635293936 /package/network/utils/linux-atm/patches/700-musl-include.patch | |
parent | 930c141b69c7dd19e474586290573a19f69aa5a2 (diff) | |
download | upstream-ad645323340ace0634e8f75150fbfb6fa4414815.tar.gz upstream-ad645323340ace0634e8f75150fbfb6fa4414815.tar.bz2 upstream-ad645323340ace0634e8f75150fbfb6fa4414815.zip |
linux-atm: Add missing headers
This fixes compilation with -Werror=implicit-function-declaration.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 1b1c47577bac99bdd8ab9ecde928ab0398f78799)
Diffstat (limited to 'package/network/utils/linux-atm/patches/700-musl-include.patch')
-rw-r--r-- | package/network/utils/linux-atm/patches/700-musl-include.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/network/utils/linux-atm/patches/700-musl-include.patch b/package/network/utils/linux-atm/patches/700-musl-include.patch new file mode 100644 index 0000000000..2b2268d8ac --- /dev/null +++ b/package/network/utils/linux-atm/patches/700-musl-include.patch @@ -0,0 +1,30 @@ +--- a/src/include/atmd.h ++++ b/src/include/atmd.h +@@ -10,6 +10,7 @@ + + #include <stdint.h> + #include <stdio.h> ++#include <string.h> + #include <sys/types.h> + #include <sys/time.h> + +--- a/src/lib/unix.c ++++ b/src/lib/unix.c +@@ -8,6 +8,7 @@ + + #include <stdlib.h> + #include <stdio.h> ++#include <string.h> + #include <unistd.h> + #include <errno.h> + #include <sys/types.h> +--- a/src/sigd/kernel.c ++++ b/src/sigd/kernel.c +@@ -8,6 +8,7 @@ + + #include <stdlib.h> + #include <stdio.h> ++#include <string.h> + #include <errno.h> + #include <assert.h> + |