[libbluray-devel] Cleanup includes

hpi1 git at videolan.org
Thu Feb 19 12:20:27 CET 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Feb 18 23:49:28 2015 +0200| [19ac023b283b77c7161de614810fcd1beea6f21e] | committer: hpi1

Cleanup includes

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

 src/file/dirs_xdg.c |    1 -
 src/util/bits.h     |    9 ++++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/file/dirs_xdg.c b/src/file/dirs_xdg.c
index c38f710..c3cea33 100644
--- a/src/file/dirs_xdg.c
+++ b/src/file/dirs_xdg.c
@@ -26,7 +26,6 @@
 #include "util/strutl.h"
 #include "util/logging.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
diff --git a/src/util/bits.h b/src/util/bits.h
index 24362b4..b120ffe 100644
--- a/src/util/bits.h
+++ b/src/util/bits.h
@@ -23,10 +23,13 @@
 #ifndef BD_BITS_H
 #define BD_BITS_H
 
-#include "file/file.h"
+#include "util/attributes.h"
+#include "file/filesystem.h" // BD_FILE_H
+
+#include <stdint.h>
+#include <stdio.h>     // SEEK_*
+#include <sys/types.h> // *size_t
 
-#include <unistd.h>
-#include <stdio.h>
 
 /**
  * \file



More information about the libbluray-devel mailing list