summaryrefslogtreecommitdiff
path: root/net/aria2/patches/patch-af
blob: 3aab85774bca9b0b604444d4f3fc822cc3897ca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-af,v 1.3 2007/11/07 08:08:20 bjs Exp $

--- src/strptime.c.orig	2007-08-28 12:36:33.000000000 -0400
+++ src/strptime.c
@@ -43,7 +43,12 @@
 #endif // HAVE_TIMEGM
 
 #include <stddef.h>
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/cdefs.h>
+#include <nbcompat/stdio.h>
+#else
 #include <stdio.h>
+#endif
 #include <time.h>
 #include <string.h>
 #include <ctype.h>