Cannot compile on Haiku OS with gcc 7
gcc -c -fwrapv -fno-strict-aliasing -pipe -D_FORTIFY_SOURCE=2 -O -DVERSION="1.221" -DXS_VERSION="1.221" -fpic "-I/packages/perl-5.26.1-2/.self/lib/perl5/5.26.1/x86_64-haiku/CORE" -D_STDIR="/tmp" -D__haiku__ -D_DEFAULT_UMASK=0007 UUID.c In file included from UUID.xs:8:0: /boot/system/develop/headers/os/kernel/OS.h:349:8: error: unknown type name 'bool' extern bool has_data(thread_id thread); ^~~~ /boot/system/develop/headers/os/kernel/OS.h:425:2: error: unknown type name 'bool' bool enabled; ^~~~ In file included from UUID.xs:2:0: UUID.xs: In function 'MD5Init':
The problem appears because UUID.xs explicitly undefines bool for HAIKU. The patch is incoming.
https://github.com/rjbs/Data-UUID/pull/30
That patch doesn't work for me on the latest Haiku (Beta5)