openbsd-ports/lang/scm/patches/patch-time_c

16 lines
303 B
Plaintext

$OpenBSD: patch-time_c,v 1.1 2004/09/15 19:13:35 espie Exp $
--- time.c.orig Wed Dec 11 22:55:48 2002
+++ time.c Sun Sep 5 11:41:32 2004
@@ -44,6 +44,11 @@
#include "scm.h"
+#ifdef __unix__
+# ifndef unix
+# define unix 1
+# endif
+#endif
#ifdef STDC_HEADERS
# include <time.h>
# ifdef M_SYSV