openbsd-ports/net/dictd/patches/patch-decl_h

13 lines
522 B
Plaintext
Raw Normal View History

$OpenBSD: patch-decl_h,v 1.1.1.1 2006/04/19 17:11:52 alek Exp $
--- decl.h.orig Tue Apr 18 15:20:35 2006
+++ decl.h Tue Apr 18 15:20:45 2006
@@ -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(__OpenBSD__)
/* Both SunOS and Solaris */
extern int getrusage( int who, struct rusage * );
extern void bcopy( const void *, void *, int );