2010-03-20 17:32:23 -04:00
|
|
|
$OpenBSD: patch-polipo_h,v 1.3 2010/03/20 21:32:23 kili Exp $
|
|
|
|
--- polipo.h.orig Tue Jan 8 13:56:45 2008
|
|
|
|
+++ polipo.h Tue Sep 9 10:58:23 2008
|
2008-02-03 10:06:47 -05:00
|
|
|
@@ -62,6 +62,9 @@ THE SOFTWARE.
|
2005-08-06 17:21:53 -04:00
|
|
|
#define MAP_ANONYMOUS MAP_ANON
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#include <pwd.h>
|
|
|
|
+#define POLIPO_USER "_polipo"
|
|
|
|
+
|
|
|
|
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
|
|
|
/* nothing */
|
|
|
|
#elif defined(__GNUC__)
|
2010-03-20 17:32:23 -04:00
|
|
|
@@ -152,7 +155,9 @@ THE SOFTWARE.
|
|
|
|
|
|
|
|
#ifdef __OpenBSD__
|
|
|
|
#if OpenBSD >= 200311
|
|
|
|
+#define HAVE_ASPRINTF
|
|
|
|
#define HAVE_IPv6
|
|
|
|
+#define HAVE_TIMEGM
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|