[vlc-commits] commit: ssize_t requires sys/types.h (fix #3504) ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Sat Apr 10 12:17:14 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr 10 13:16:44 2010 +0300| [9e8bf20982084a38821186c7396767dea16708af] | committer: Rémi Denis-Courmont
ssize_t requires sys/types.h (fix #3504)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e8bf20982084a38821186c7396767dea16708af
---
include/vlc_fixups.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 7fe2d52..c832197 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -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
More information about the vlc-commits
mailing list