]> git.sesse.net Git - vlc/blobdiff - include/vlc_fixups.h
Fix serbian.nsh
[vlc] / include / vlc_fixups.h
index 9ad95f55376d6c540c72306d555be8311cd78013..dee3dbd397dc3fdce3429085857dfc31afca7aa7 100644 (file)
@@ -64,7 +64,8 @@ typedef struct
 # include <sys/types.h> /* ssize_t, pid_t */
 #endif
 
-#ifndef HAVE_DIRFD
+#if !defined (HAVE_DIRFD) || \
+    !defined (HAVE_FDOPENDIR)
 # include <dirent.h>
 #endif
 
@@ -188,6 +189,10 @@ int fsync (int fd);
 int dirfd (DIR *);
 #endif
 
+#ifndef HAVE_FDOPENDIR
+DIR *fdopendir (int);
+#endif
+
 #ifdef __cplusplus
 } /* extern "C" */
 #endif