add FreeBSD compatibility

This commit is contained in:
Axel Kohlmeyer
2020-05-02 15:56:24 -04:00
parent 613b8a7596
commit 2b542eacb7

View File

@ -59,7 +59,7 @@ extern "C" {
typedef int bool_t;
#if defined(__MINGW32__) || defined(__APPLE__)
#if defined(__MINGW32__) || defined(__APPLE__) || defined(__FreeBSD__)
typedef char * caddr_t;
typedef unsigned int u_int;
#endif