summaryrefslogtreecommitdiff
path: root/net/dictd/files/patch-decl.h
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-01-12 03:00:56 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-01-12 03:00:56 +0000
commit8a2eff15638d00fe83180799b3a7e48e51b0b13b (patch)
tree148d8039ee6af172585d866bc9e17666baedc740 /net/dictd/files/patch-decl.h
parentThis is ePSXe, a Sony Playstation emulator (Linux binary). (diff)
Fix build on sparc64 (all the world's not sunos, solaris or linnex)
Notes
Notes: svn path=/head/; revision=72952
Diffstat (limited to 'net/dictd/files/patch-decl.h')
-rw-r--r--net/dictd/files/patch-decl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/dictd/files/patch-decl.h b/net/dictd/files/patch-decl.h
new file mode 100644
index 000000000000..4e970dfaa592
--- /dev/null
+++ b/net/dictd/files/patch-decl.h
@@ -0,0 +1,11 @@
+--- decl.h.orig Sat Jan 11 18:39:08 2003
++++ decl.h Sat Jan 11 18:38:58 2003
+@@ -28,7 +28,7 @@
+ declarations for standard library calls. We provide them here for
+ situations that we know about. */
+
+-#if defined(__sparc__) && !defined(__linux__)
++#if defined(__sparc__) && !(defined(__linux__) || defined(__FreeBSD__))
+ /* Both SunOS and Solaris */
+ extern int getrusage( int who, struct rusage * );
+ extern void bcopy( const void *, void *, int );