add FreeBSD compatibility

This commit is contained in:
Axel Kohlmeyer 2020-05-02 15:56:24 -04:00
parent 613b8a7596
commit 2b542eacb7
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 1 deletions

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