[libbluray-devel] Include stdio.h if unistd.h is not available for SEEK_* definitions.

ace20022 git at videolan.org
Fri Jan 15 12:33:47 CET 2016


libudfread | branch: master | ace20022 <ace20022 at ymail.com> | Thu Jan 14 15:54:10 2016 +0100| [bff16d8a29b40d9539f96ea8c8eda738d5c2ae8b] | committer: Petri Hintukainen

Include stdio.h if unistd.h is not available for SEEK_* definitions.

> http://git.videolan.org/gitweb.cgi/libudfread.git/?a=commit;h=bff16d8a29b40d9539f96ea8c8eda738d5c2ae8b
---

 src/default_blockinput.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/default_blockinput.c b/src/default_blockinput.c
index 63bebaf..3161d27 100644
--- a/src/default_blockinput.c
+++ b/src/default_blockinput.c
@@ -38,6 +38,9 @@
 
 #ifdef _WIN32
 #include <windows.h>
+#ifndef HAVE_UNISTD_H
+#include <stdio.h>
+#endif
 #include <io.h>
 #endif
 



More information about the libbluray-devel mailing list