lsof/lsof_4.81-include.patch
2024-02-29 16:13:57 +08:00

33 lines
766 B
Diff

---
arg.c | 3 +++
print.c | 3 +++
2 files changed, 6 insertions(+)
Index: arg.c
===================================================================
--- arg.c.orig 2009-03-25 20:20:33.000000000 +0100
+++ arg.c 2010-04-09 12:38:06.000000000 +0200
@@ -37,6 +37,9 @@ static char *rcsid = "$Id: arg.c,v 1.49
#include "lsof.h"
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <arpa/inet.h>
/*
Index: print.c
===================================================================
--- print.c.orig 2010-01-18 20:01:17.000000000 +0100
+++ print.c 2010-04-09 12:38:06.000000000 +0200
@@ -37,6 +37,9 @@ static char *rcsid = "$Id: print.c,v 1.5
#include "lsof.h"
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <arpa/inet.h>
/*