X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fsha1.h;h=8b3e3ede340ab2c9cb564debba4b728fe3c251a0;hb=0c0adcc52478ebb707ed780173e18262df6eab7e;hp=0c2b76557e4be9b799382e3086aacc3c6663ad7c;hpb=b68965a0fa54df03570c8183740677d68f87ff07;p=deliverable%2Fbinutils-gdb.git diff --git a/include/sha1.h b/include/sha1.h index 0c2b76557e..8b3e3ede34 100644 --- a/include/sha1.h +++ b/include/sha1.h @@ -1,11 +1,10 @@ /* Declarations of functions and data types used for SHA1 sum library functions. - Copyright (C) 2000, 2001, 2003, 2005, 2006, 2008 - Free Software Foundation, Inc. + Copyright (C) 2000-2020 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 - Free Software Foundation; either version 2, or (at your option) any + Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -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