[vlc-commits] Missing #include

Rémi Denis-Courmont git at videolan.org
Sun Sep 4 11:33:22 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Sep  4 12:32:40 2011 +0300| [22e5015cafa216140a04534fb8b0962b9740ae63] | committer: Rémi Denis-Courmont

Missing #include

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

 compat/fdopendir.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/compat/fdopendir.c b/compat/fdopendir.c
index b67bdf1..296c1b6 100644
--- a/compat/fdopendir.c
+++ b/compat/fdopendir.c
@@ -27,6 +27,9 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 #include <dirent.h>
 
 DIR *fdopendir (int fd)



More information about the vlc-commits mailing list