freebsd-ports/emulators/xmame/files/patch-src-sha1.h
Pav Lucistnik 5c795d0708 - Update to 0.78.1
PR:		ports/62137
Submitted by:	Miguel Mendez <flynn@energyhq.es.eu.org>
Approved by:	maintainer (xmame part)
2004-02-01 01:13:46 +00:00

14 lines
343 B
C

--- src/sha1.h.orig Fri Jan 30 21:43:41 2004
+++ src/sha1.h Fri Jan 30 21:45:58 2004
@@ -26,10 +26,7 @@
#ifndef NETTLE_SHA1_H_INCLUDED
#define NETTLE_SHA1_H_INCLUDED
-#ifndef _STDINT_H
-typedef unsigned int uint32_t;
-typedef unsigned char uint8_t;
-#endif
+#include <sys/types.h>
#define SHA1_DIGEST_SIZE 20
#define SHA1_DATA_SIZE 64