DragonFly BSD
DragonFly submit List (threaded) for 2006-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

OpenSSL missing types.h include.


From: Gary Allan <dragonfly@xxxxxxxxxxxxxxx>
Date: Fri, 28 Apr 2006 11:22:43 +0100


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


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]