#endif
#endif
-#if defined(_PSP) || defined(__ps2sdk__)
+#if defined(_PSP) || defined(__ps2sdk__) || defined(__bsdi__)
#include "strptime.h"
#endif
time_t t;
struct tm* btm;
strptime(req.headers[i + 1], "%a, %d %b %Y %H:%M:%S GMT", &tm);
-#if defined(__MINGW32__) || defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__USLC__) || defined(__NeXT__)
+#if defined(__MINGW32__) || defined(_PSP) || defined(__PPU__) || defined(__ps2sdk__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__USLC__) || defined(__NeXT__) || defined(__bsdi__)
t = 0;
btm = localtime(&t);
cmtime = mktime(&tm);
//#include <sys/cdefs.h>
//__RCSID("$NetBSD: strptime.c,v 1.62 2017/08/24 01:01:09 ginsbach Exp $");
-#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__NeXT__)
+#if defined(__MINGW32__) || defined(_MSC_VER || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__NeXT__) || defined(__bsdi__)
#include <stdlib.h>
#include <ctype.h>
#undef USE_POLL
#endif
+#if defined(__bsdi__) && !defined(NO_IPV6)
+#define NO_IPV6
+#endif
+
+#if defined(__bsdi__) && defined(USE_POLL)
+#undef USE_POLL
+#endif
+
#endif
/*