OpenSSL missing types.h include.

Gary Allan dragonfly at gallan.plus.com
Fri Apr 28 03:22:43 PDT 2006


The openssl headers make use of "size_t" but <sys/types.h> is not 
included. I'm not sure where the correct place to add the header is but 
e_os2.h seems ok.

The following code does not compile on DragonFly.

#include <openssl/sha.h>

int main()
{
	return 0;
}
Regards

Gary
--- e_os2.h.orig	2006-04-28 11:13:31.000000000 +0100
+++ e_os2.h	2006-04-28 11:02:36.000000000 +0100
@@ -53,6 +53,7 @@
  *
  */
 
+#include <sys/types.h>
 #include <openssl/opensslconf.h>
 
 #ifndef HEADER_E_OS2_H




More information about the Submit mailing list