--- datetime/datetime.orig	2013-10-02 13:57:01 UTC
+++ datetime/datetime
@@ -1,6 +1,10 @@
 #ifndef INCLUDED_BOBCAT_DATETIME_
 #define INCLUDED_BOBCAT_DATETIME_
 
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#include <cerrno>
+#endif
+
 #include <ctime>
 #include <iosfwd>
 
