diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-10-28 14:22:59 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-10-28 14:23:09 +0000 |
commit | 448c51ff5279c72a2f9c7381d724540537f1ffd4 (patch) | |
tree | 63da28100a7ef3db94426880bc96eb683e4b20d1 /main/lsof/fix-includes.patch | |
parent | 290d2c96afe07e951b14793f9aa1f1953f37b911 (diff) | |
download | aports-448c51ff5279c72a2f9c7381d724540537f1ffd4.tar.bz2 aports-448c51ff5279c72a2f9c7381d724540537f1ffd4.tar.xz |
main/lsof: fix musl build
Diffstat (limited to 'main/lsof/fix-includes.patch')
-rw-r--r-- | main/lsof/fix-includes.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/main/lsof/fix-includes.patch b/main/lsof/fix-includes.patch new file mode 100644 index 0000000000..6bcc2d5641 --- /dev/null +++ b/main/lsof/fix-includes.patch @@ -0,0 +1,15 @@ +--- lsof_4.87_src/dialects/linux/dlsof.h ++++ lsof_4.87_src/dialects/linux/dlsof.h +@@ -49,12 +49,7 @@ + #include <setjmp.h> + #include <unistd.h> + #include <netinet/in.h> +- +-# if defined(GLIBCV) || defined(__UCLIBC__) + #include <netinet/tcp.h> +-# else /* !defined(GLIBCV) && !defined(__UCLIBC__) */ +-#include <linux/tcp.h> +-# endif /* defined(GLIBCV) || defined(__UCLIBC__) */ + + # if !defined(HASNORPC_H) + #include <rpc/rpc.h> |