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
# include <stdarg.h> /* va_list */
#endif
#ifndef HAVE_GETPID
# include <sys/types.h> /* pid_t */
#if !defined (HAVE_GETDELIM) || \
!defined (HAVE_GETPID) || \
!defined (HAVE_SWAB)
# include <sys/types.h> /* ssize_t, pid_t */
#endif
#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