summaryrefslogtreecommitdiff
path: root/net/dictd/files/patch-libmaa::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-libmaa::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)
Diffstat (limited to 'net/dictd/files/patch-libmaa::decl.h')
-rw-r--r--net/dictd/files/patch-libmaa::decl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/dictd/files/patch-libmaa::decl.h b/net/dictd/files/patch-libmaa::decl.h
new file mode 100644
index 000000000000..af6518a57173
--- /dev/null
+++ b/net/dictd/files/patch-libmaa::decl.h
@@ -0,0 +1,11 @@
+--- libmaa/decl.h.orig Fri Aug 2 12:43:15 2002
++++ libmaa/decl.h Sat Jan 11 18:39:01 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__))
+ #include <sys/resource.h>
+ /* Both SunOS and Solaris */
+ extern int getrusage( int who, struct rusage * );