[libbluray-devel] commit: Add stdio.h to bits.h (john )

git at videolan.org git at videolan.org
Sat Sep 11 00:35:02 CEST 2010


libbluray | branch: master | john <john at anonymous.org> | Fri Sep 10 15:33:25 2010 -0700| [a6b6397706a13ed47fb2d13ca3fa633d7179f042] | committer: john 

Add stdio.h to bits.h

mingw64 doesn't have SEEK_* defined in unistd.h
It seems that posix compliant systems are starting
to require their definition only in stdio.h

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

 src/util/bits.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/util/bits.h b/src/util/bits.h
index fcf3867..1a1b099 100644
--- a/src/util/bits.h
+++ b/src/util/bits.h
@@ -26,6 +26,7 @@
 #include "file/file.h"
 
 #include <unistd.h>
+#include <stdio.h>
 
 /**
  * \file



More information about the libbluray-devel mailing list