X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fsha1.h;h=2eb3270044724c0064b35a7a83fca53d29f31d31;hb=708e4b9f189a86d542519b35e36e3f087b36b524;hp=5473f91f412b9a6fc0bfc2e9af3dbfef90012640;hpb=e4e42b45d59b4c622b7c5b625fd7467fd62d958d;p=deliverable%2Fbinutils-gdb.git diff --git a/include/sha1.h b/include/sha1.h index 5473f91f41..2eb3270044 100644 --- a/include/sha1.h +++ b/include/sha1.h @@ -1,7 +1,6 @@ /* Declarations of functions and data types used for SHA1 sum library functions. - Copyright (C) 2000, 2001, 2003, 2005, 2006, 2008, 2010 - Free Software Foundation, Inc. + Copyright (C) 2000-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -39,6 +38,11 @@ # include typedef u_int32_t sha1_uint32; typedef uintptr_t sha1_uintptr; +#elif defined (HAVE_SYS_TYPES_H) && defined (HAVE_STDINT_H) +#include +#include +typedef uint32_t sha1_uint32; +typedef uintptr_t sha1_uintptr; #else # define INT_MAX_32_BITS 2147483647