ports/sysutils/xsysstats/files/patch-porting.c
Stefan Eßer af5c72ccd0 Fix build with -fno-common
While here add a license (extracted from the README file).
Redistribution is only allowed free of charge.
2020-09-22 11:56:27 +00:00

12 lines
285 B
C

--- 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)
{