You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
326 B
17 lines
326 B
diff --git a/libzsync/sha1.h b/libzsync/sha1.h
|
|
index 3946505..8840570 100644
|
|
--- a/libzsync/sha1.h
|
|
+++ b/libzsync/sha1.h
|
|
@@ -11,9 +11,10 @@
|
|
|
|
#include "config.h"
|
|
|
|
-#ifdef HAVE_INTTYPES_H
|
|
+#if defined(HAVE_INTTYPES_H) && defined(__GLIBC__)
|
|
#include <inttypes.h>
|
|
#else
|
|
+#include <stdint.h>
|
|
#include <sys/types.h>
|
|
#endif
|
|
|