src/descriptor.h: use HAVE_SYS_TYPES_H define.

[email protected] (Jean-Paul Saman) Thu, 8 Jan 2015 09:29:05 +0100 (CET)
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
libdvbpsi | branch: master | Jean-Paul Saman <[email protected]> | Thu Jan  8 09:27:13 2015 +0100| [6f750097c9e2e3b7a113ff721045d1fcef3ce0a6] | committer: Jean-Paul Saman

src/descriptor.h: use HAVE_SYS_TYPES_H define.

> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=6f750097c9e2e3b7a113ff721045d1fcef3ce0a6
---

 src/descriptor.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/descriptor.h b/src/descriptor.h
index 1d1364a..f9aac53 100644
--- a/src/descriptor.h
+++ b/src/descriptor.h
@@ -39,7 +39,9 @@
 extern "C" {
 #endif
 
+#ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
+#endif
 
 /*****************************************************************************
  * common definitions

_______________________________________________
libdvbpsi-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libdvbpsi-devel