Don't redeclare (incorrectly) callrpc on FreeBSD/Alpha.
This commit is contained in:
parent
9e4b618ba0
commit
3f663e605b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45477
12
sysutils/xsysstats/files/patch-ab
Normal file
12
sysutils/xsysstats/files/patch-ab
Normal file
@ -0,0 +1,12 @@
|
||||
--- porting.c.orig Sun Jul 22 11:19:14 2001
|
||||
+++ porting.c Sun Jul 22 11:23:38 2001
|
||||
@@ -33,7 +33,9 @@
|
||||
#endif
|
||||
#include <rpcsvc/rstat.h>
|
||||
|
||||
+#if !defined(__FreeBSD__) || !defined(__alpha__)
|
||||
extern int callrpc(char *, u_long, u_long, u_long, xdrproc_t, char *, xdrproc_t, char *);
|
||||
+#endif
|
||||
|
||||
int rstat(char *host, struct statstime *stats)
|
||||
{
|
Loading…
Reference in New Issue
Block a user