4211cef123
patch-ag and patch-ah fix void functions that attempt to return the result of calling a void function. patch-ai conditionally includes <sys/inttypes.h> to pick up uint32_t
16 lines
345 B
Text
16 lines
345 B
Text
$NetBSD: patch-ai,v 1.1 2008/10/29 11:38:09 shannonjr Exp $
|
|
|
|
--- libextra/gl/md5.h.orig 2008-10-05 07:41:43.000000000 -0600
|
|
+++ libextra/gl/md5.h
|
|
@@ -22,7 +22,11 @@
|
|
#define _MD5_H 1
|
|
|
|
#include <stdio.h>
|
|
+#if defined(__sun)
|
|
+#include <sys/inttypes.h>
|
|
+#else
|
|
#include <stdint.h>
|
|
+#endif
|
|
|
|
#define MD5_DIGEST_SIZE 16
|
|
#define MD5_BLOCK_SIZE 64
|