openbsd-ports/security/py-cryptkit/patches/patch-sha256_src_sha2_c

15 lines
391 B
Plaintext

$OpenBSD: patch-sha256_src_sha2_c,v 1.1 2009/03/25 20:14:23 jasper Exp $
Fix potential 64-bit issue due to missing header.
--- sha256/src/sha2.c.orig Wed Mar 25 21:12:12 2009
+++ sha256/src/sha2.c Wed Mar 25 21:12:28 2009
@@ -37,6 +37,7 @@
*/
+#include <stdlib.h>
#include <string.h> /* memcpy()/memset() or bcopy()/bzero() */
#include <assert.h> /* assert() */
#include "sha2.h"