[vlc-commits] Missing #includes

Rémi Denis-Courmont git at videolan.org
Mon Dec 30 15:12:01 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec 30 16:11:48 2013 +0200| [42b33ae5fb6b801bad7c251fe254073547d7fac2] | committer: Rémi Denis-Courmont

Missing #includes

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42b33ae5fb6b801bad7c251fe254073547d7fac2
---

 src/interface/interface.c |    1 +
 src/misc/messages.c       |    1 +
 2 files changed, 2 insertions(+)

diff --git a/src/interface/interface.c b/src/interface/interface.c
index 57c88f6..37635f6 100644
--- a/src/interface/interface.c
+++ b/src/interface/interface.c
@@ -37,6 +37,7 @@
 # include "config.h"
 #endif
 
+#include <unistd.h>
 #include <assert.h>
 
 #include <vlc_common.h>
diff --git a/src/misc/messages.c b/src/misc/messages.c
index 44b2362..8452a5a 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -34,6 +34,7 @@
 
 #include <stdlib.h>
 #include <stdarg.h>                                       /* va_list for BSD */
+#include <unistd.h>
 
 #include <vlc_common.h>
 #include <vlc_interface.h>



More information about the vlc-commits mailing list