opnsense-ports/sysutils/xsysstats/files/patch-xsysstats.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

24 lines
562 B
C

--- xsysstats.h.orig Tue May 30 08:46:20 2000
+++ xsysstats.h Sat Nov 9 08:43:29 2002
@@ -15,12 +15,9 @@
#include <stdio.h>
#include <sys/param.h>
-#include <stdio.h>
-#include <sys/param.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <malloc.h>
#include <netdb.h>
#include <rpcsvc/rstat.h>
@@ -138,7 +135,7 @@
char *name; /*Name of the host */
#ifdef USE_NEW_RSTAT
CLIENT *client; /* client connection for rstat */
-#endif USE_NEW_RSTAT
+#endif /* USE_NEW_RSTAT */
};
extern struct Xss_Window **windows;