Update for 2009.05
[avatt.git] / package / lsof / lsof-uclibc.patch
blob797a0ce91ec472f66691da14c66579bf7a5c6f04
1 diff -ru lsof_4.81.orig/lsof_4.81_src/dialects/linux/dlsof.h lsof_4.81/lsof_4.81_src/dialects/linux/dlsof.h
2 --- lsof_4.81.orig/lsof_4.81_src/dialects/linux/dlsof.h 2006-03-28 00:57:14.000000000 +0200
3 +++ lsof_4.81/lsof_4.81_src/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>
8 -# if defined(GLIBCV)
9 +# if defined(GLIBCV) || defined __UCLIBC__
10 #include <netinet/tcp.h>
11 # else /* !defined(GLIBCV) */
12 #include <linux/tcp.h>