pkgsrc-wip/archimedes/patches/patch-aa

19 lines
593 B
Plaintext

$NetBSD: patch-aa,v 1.2 2011/11/30 20:47:27 gschwarz Exp $
--- src/archimedes.c.orig 2011-11-30 21:42:15.000000000 +0100
+++ src/archimedes.c 2011-11-30 21:42:21.000000000 +0100
@@ -31,7 +31,13 @@
// System of Measure : M.K.S.C. System
// =================================================================
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/config.h> /* needed for the other headers */
+#include <nbcompat/cdefs.h> /* needed for the other headers */
+#include <nbcompat/getopt.h>
+#else
#include<getopt.h>
+#endif
#include<stdio.h>
#include<unistd.h>
#include<stdlib.h>