diff options
Diffstat (limited to 'lib/connect.c')
-rw-r--r-- | lib/connect.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c index c045ba436..69308df2b 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -44,6 +44,10 @@ #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> #endif +#ifdef HAVE_STDLIB_H +#include <stdlib.h> /* required for free() prototype, without it, this crashes + on macos 68K */ +#endif #endif #include <stdio.h> |