--- diffiehellman/diffiehellman.orig	2013-10-02 12:36:00.000000000 +0200
+++ diffiehellman/diffiehellman	2013-11-27 14:08:18.000000000 +0100
@@ -1,6 +1,10 @@
 #ifndef INCLUDED_BOBCAT_DIFFIEHELLMAN_
 #define INCLUDED_BOBCAT_DIFFIEHELLMAN_
 
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#endif
+
 #include <memory>
 #include <iosfwd>
 
