[libbluray-devel] use stddef.h instead of sys/types.h for size_t

hpi1 git at videolan.org
Tue Apr 15 10:32:23 CEST 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Apr 15 10:08:27 2014 +0300| [ecf92f719cc2bc89dfb960f832e19d1b3b6281bf] | committer: hpi1

use stddef.h instead of sys/types.h for size_t

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

 src/util/array.h  |    2 +-
 src/util/refcnt.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/array.h b/src/util/array.h
index 70e9dec..caab19b 100644
--- a/src/util/array.h
+++ b/src/util/array.h
@@ -22,7 +22,7 @@
 
 #include "attributes.h"
 
-#include <sys/types.h>
+#include <stddef.h>
 
 /*
  * array_alloc()
diff --git a/src/util/refcnt.h b/src/util/refcnt.h
index 9505497..b839eba 100644
--- a/src/util/refcnt.h
+++ b/src/util/refcnt.h
@@ -22,7 +22,7 @@
 
 #include "attributes.h"
 
-#include <sys/types.h>
+#include <stddef.h>
 
 #ifdef MACRO_H_
 #  error macro.h included before refcnt.h



More information about the libbluray-devel mailing list