summaryrefslogtreecommitdiff
path: root/sysutils/xsysstats/files/patch-porting.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-22 11:56:27 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-22 11:56:27 +0000
commitaf5c72ccd0319187bda6fd117b1a3c87e4e03394 (patch)
tree91ccf52e79f85f50676f02b39c2d8f900edc6b3d /sysutils/xsysstats/files/patch-porting.c
parent- Update to 0.1-29 (diff)
Fix build with -fno-common
While here add a license (extracted from the README file). Redistribution is only allowed free of charge.
Diffstat (limited to 'sysutils/xsysstats/files/patch-porting.c')
-rw-r--r--sysutils/xsysstats/files/patch-porting.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/xsysstats/files/patch-porting.c b/sysutils/xsysstats/files/patch-porting.c
new file mode 100644
index 000000000000..12270da36a72
--- /dev/null
+++ b/sysutils/xsysstats/files/patch-porting.c
@@ -0,0 +1,12 @@
+--- porting.c.orig 2000-05-30 06:50:24 UTC
++++ porting.c
+@@ -26,6 +26,9 @@ int rstat(char *host, struct statstime *stats)
+
+ #ifdef USE_NEW_RSTAT
+ #include <rpc/rpc.h>
++
++int open_host(struct Host_Info *host);
++
+ int
+ rstat_local(struct Host_Info *host, struct statstime *statval)
+ {