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

This commit is contained in:
Rémi Denis-Courmont 2010-04-10 13:16:44 +03:00
parent 15ca46cf8f
commit 9e8bf20982

View File

@ -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