ajacoutot 5558c792d3 First pass at pre-entively fixing ports that would break once guenther's header
pollution diff is in.

lang/squeak/vm does not build but it's due to the recent audio changes
games/xbattle: also fixes some conflicting implicit decl
print/hplip: also fixes some conflicting implicit decl
2016-09-10 13:03:40 +00:00

13 lines
343 B
Plaintext

$OpenBSD: patch-config_c,v 1.1 2016/09/10 13:03:43 ajacoutot Exp $
--- config.c.orig Sat Sep 10 12:14:03 2016
+++ config.c Sat Sep 10 12:14:03 2016
@@ -48,7 +48,7 @@
#include <string.h>
#include <ifaddrs.h>
#include <errno.h>
-#ifdef __linux__
+#if defined(__linux__) || defined(__OpenBSD__)
#define __USE_XOPEN
#include <time.h>
#endif