[libdvbpsi-devel] src/descriptor.h: use HAVE_SYS_TYPES_H define.

Jean-Paul Saman git at videolan.org
Thu Jan 8 09:29:05 CET 2015


libdvbpsi | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | 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



More information about the libdvbpsi-devel mailing list