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

13 lines
511 B
Plaintext
Raw Normal View History

$OpenBSD: patch-libmaa_decl_h,v 1.1.1.1 2006/04/19 17:11:52 alek Exp $
--- libmaa/decl.h.orig Tue Apr 18 15:21:21 2006
+++ libmaa/decl.h Tue Apr 18 15:21:31 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__)
#include <sys/resource.h>
/* Both SunOS and Solaris */
extern int getrusage( int who, struct rusage * );