packages/utils/lsof/patches/003-lsof_uclibc.patch
florian 738f28ba39 Add lsof, thanks h3sp4wn (#1548)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-10 10:20:35 +00:00

13 lines
472 B
Diff

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
--- lsof_4.77.orig/dialects/linux/dlsof.h 2006-03-28 00:57:14.000000000 +0200
+++ lsof_4.77/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>