KlausT / ccminer-cryptonight

Software for mining various cryptocoins, like Monero (pool mining only)
GNU General Public License v3.0
133 stars 30 forks source link

error: unknown type name ‘size_t’ at crypto/c_groestl.c #47

Open rumatoest opened 6 years ago

rumatoest commented 6 years ago

Compilation does not work at ubuntu 16.04 because

crypto/c_groestl.c: In function ‘Init’:
crypto/c_groestl.c:209:7: error: unknown type name ‘size_t’
   for(size_t i = 0;i<(SIZE512/sizeof(uint32_t));i++)

Adding #include <stddef.h> to crypto/c_groestl.c fix issue