On kFreeBSD tests/hashtable_test.c fails to compile:
/«PKGBUILDDIR»/tests/hashtable_test.c:30:13: error: conflicting types for 'key_t'
typedef int key_t;
^~~~~
In file included from /usr/include/stdlib.h:275:0,
from /«PKGBUILDDIR»/src/hashtable.h:24,
from /«PKGBUILDDIR»/tests/hashtable_test.c:27:
/usr/include/x86_64-kfreebsd-gnu/sys/types.h:122:17: note: previous declaration of 'key_t' was here
typedef __key_t key_t;
^~~~~
It may be a coincidence that the conflict doesn't happen on Linux as <sys/types.h> there may define this type too.
The text was updated successfully, but these errors were encountered:
On kFreeBSD tests/hashtable_test.c fails to compile:
It may be a coincidence that the conflict doesn't happen on Linux as
<sys/types.h>
there may define this type too.The text was updated successfully, but these errors were encountered: