]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Add missing include to <md5.h>
authorGuillem Jover <guillem@hadrons.org>
Sun, 13 Dec 2015 23:37:34 +0000 (00:37 +0100)
committerGuillem Jover <guillem@hadrons.org>
Sun, 13 Dec 2015 23:58:59 +0000 (00:58 +0100)
The header was not self-contained, it was missing definitions for some
types included in <sys/types.h>.

include/bsd/md5.h

index 56c3cd6ef175d7e7878a92ad301f37e2a45baae9..9a75fadda1f8c795883d6b1b6d0bbd3281cfc83e 100644 (file)
@@ -28,6 +28,7 @@ typedef struct MD5Context {
 } MD5_CTX;
 
 #include <sys/cdefs.h>
+#include <sys/types.h>
 
 __BEGIN_DECLS
 void    MD5Init(MD5_CTX *);