mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 15:08:40 +01:00
lsof: import from packages
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
--- a/print.c
|
||||
+++ b/print.c
|
||||
@@ -161,6 +161,7 @@ endnm(sz)
|
||||
static void
|
||||
fill_portmap()
|
||||
{
|
||||
+#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_RPC__)
|
||||
char buf[128], *cp, *nm;
|
||||
CLIENT *c;
|
||||
int h, port, pr;
|
||||
@@ -279,6 +280,7 @@ fill_portmap()
|
||||
Pth[pr][h] = pt;
|
||||
}
|
||||
clnt_destroy(c);
|
||||
+#endif
|
||||
}
|
||||
#endif /* !defined(HASNORPC_H) */
|
||||
|
||||
Reference in New Issue
Block a user