Hello,
osicat-glue.c fails to compile on FreeBSD because the implicit declaration of free() conflicts with the subsequent definition that is attempted as a result of stdlib/stdio includes.
Suggest moving the #include directovives to the top of the file. Trivial patch attached.