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

--- src/common.h.orig	2007-08-28 12:36:33.000000000 -0400
+++ src/common.h
@@ -49,7 +49,12 @@
 #endif
 #endif // __MINGW32__
 
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/cdefs.h>
+#include <nbcompat/stdio.h>
+#else
 #include <stdio.h>
+#endif
 #include <stdint.h>
 #include <iostream>
 #include <assert.h>