summaryrefslogtreecommitdiff
path: root/net-p2p/qtella/files/patch-include__sha1.h
blob: 90f64bc43f8faf911bf4fa665fc5984115449403 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- include/sha1.h.orig	Fri May 21 01:14:16 2004
+++ include/sha1.h	Mon Jan 29 22:02:09 2007
@@ -5,7 +5,12 @@
 extern "C" {
 #endif
 
+#ifdef HAVE_STDINT_H
 #include <stdint.h>
+#else
+#include <inttypes.h>
+#define int_least16_t int16_t
+#endif
 /*
  * If you do not have the ISO standard stdint.h header file, then you
  * must typdef the following: