Index: reflow/dtls_wrapper/DtlsFactory.cxx
--- reflow/dtls_wrapper/DtlsFactory.cxx.orig
+++ reflow/dtls_wrapper/DtlsFactory.cxx
@@ -8,11 +8,13 @@
 #include <iostream>
 #include <rutil/ssl/OpenSSLInit.hxx>
 
-#include <openssl/e_os2.h>
 #include <openssl/rand.h>
 #include <openssl/err.h>
 #include <openssl/crypto.h>
 #include <openssl/ssl.h>
+#ifndef LIBRESSL_VERSION_NUMBER
+#include <openssl/e_os2.h>
+#endif
 
 #include "DtlsFactory.hxx"
 #include "DtlsSocket.hxx"
