Add lsof, thanks h3sp4wn (#1548)
[openwrt/svn-archive/archive.git] / utils / lsof / patches / 003-lsof_uclibc.patch
1 diff -ru lsof_4.77.orig/lsof_4.77_src/dialects/linux/dlsof.h lsof_4.77/lsof_4.77_src/dialects/linux/dlsof.h
2 --- lsof_4.77.orig/dialects/linux/dlsof.h 2006-03-28 00:57:14.000000000 +0200
3 +++ lsof_4.77/dialects/linux/dlsof.h 2006-11-29 14:03:07.000000000 +0100
4 @@ -49,7 +49,7 @@
5 #include <unistd.h>
6 #include <netinet/in.h>
7
8 -# if defined(GLIBCV)
9 +# if defined(GLIBCV) || defined __UCLIBC__
10 #include <netinet/tcp.h>
11 # else /* !defined(GLIBCV) */
12 #include <linux/tcp.h>