summaryrefslogtreecommitdiff
path: root/package/lsof/lsof-uclibc.patch
blob: 797a0ce91ec472f66691da14c66579bf7a5c6f04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
--- lsof_4.81.orig/lsof_4.81_src/dialects/linux/dlsof.h	2006-03-28 00:57:14.000000000 +0200
+++ lsof_4.81/lsof_4.81_src/dialects/linux/dlsof.h	2006-11-29 14:03:07.000000000 +0100
@@ -49,7 +49,7 @@
 #include <unistd.h>
 #include <netinet/in.h>
 
-# if	defined(GLIBCV)
+# if	defined(GLIBCV) || defined __UCLIBC__
 #include <netinet/tcp.h>
 # else	/* !defined(GLIBCV) */
 #include <linux/tcp.h>