kumquat-buildroot/package/lsof/lsof-uclibc.patch
Peter Korsgaard 1d3c30176e lsof: bump version
Patch by Conrad Parker.
2008-06-16 12:29:44 +00:00

13 lines
500 B
Diff

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