summaryrefslogtreecommitdiff
path: root/sysutils/xentools413/patches/patch-extras_mini-os_include_time.h
blob: 69634f8642c0a8968a828db5fbed6369c99d4f9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-extras_mini-os_include_time.h,v 1.1 2020/05/26 11:12:11 bouyer Exp $
--- extras/mini-os/include/time.h.orig	2016-09-28 13:09:38.000000000 +0200
+++ extras/mini-os/include/time.h	2017-03-28 20:00:33.000000000 +0200
@@ -48,7 +48,7 @@
 
 #include <sys/time.h>
 
-#ifdef HAVE_LIBC
+#if defined(HAVE_LIBC) && defined(NEED_TIME_H)
 #include_next <time.h>
 #endif