Commit 2c77ad593ca235e95bbc59de3b36fb9d69881529

Guillem Jover 2015-12-14T00:37:34

Add missing include to <md5.h> The header was not self-contained, it was missing definitions for some types included in <sys/types.h>.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/include/bsd/md5.h b/include/bsd/md5.h
index 56c3cd6..9a75fad 100644
--- a/include/bsd/md5.h
+++ b/include/bsd/md5.h
@@ -28,6 +28,7 @@ typedef struct MD5Context {
 } MD5_CTX;
 
 #include <sys/cdefs.h>
+#include <sys/types.h>
 
 __BEGIN_DECLS
 void	 MD5Init(MD5_CTX *);