ell/ecc.h: fix build with uclibc
PATCH 1/1 ell/ecc.h: fix build with uclibc
ssize_t is defined in sys/types.h
Fixes:
- http://autobuild.buildroot.org/results/444c9deb728fb041e560d940145f96cc4f455080
Signed-off-by Fabrice Fontaine <[email protected]>
--- ell/ecc.h | 2 ++ 1 file changed, 2 insertions(+)
ell/ecc.h +2 -0
@@ -27,6 +27,8 @@extern "C" {#endif +#include <sys/types.h> // for ssize_t +#define L_ECC_MAX_DIGITS 6#define L_ECC_SCALAR_MAX_BYTES L_ECC_MAX_DIGITS * 8#define L_ECC_POINT_MAX_BYTES L_ECC_SCALAR_MAX_BYTES * 2
Signature · 1 line
2.20.1
Hi Fabrice,
Quoted 6 lines · Fabrice Fontaine
ssize_tis defined insys/types.hFixes:
- http://autobuild.buildroot.org/results/444c9deb728fb041e560d940145f96cc4f455080Signed-off-by Fabrice Fontaine <[email protected]>
Dropped the SoB (ell doesn't use these) and applied, thanks.
Regards,
-Denis