Commit 9e8bf209 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

ssize_t requires sys/types.h (fix #3504)

parent 15ca46cf
...@@ -59,8 +59,10 @@ typedef struct ...@@ -59,8 +59,10 @@ typedef struct
# include <stdarg.h> /* va_list */ # include <stdarg.h> /* va_list */
#endif #endif
#ifndef HAVE_GETPID #if !defined (HAVE_GETDELIM) || \
# include <sys/types.h> /* pid_t */ !defined (HAVE_GETPID) || \
!defined (HAVE_SWAB)
# include <sys/types.h> /* ssize_t, pid_t */
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment