]> git.sesse.net Git - vlc/blobdiff - src/extras/dirent.c
Use var_Inherit* instead of var_CreateGet*.
[vlc] / src / extras / dirent.c
index d0a0f3329305e1b5a5f467c47f1d07ebf48200a7..d19b762890a5f4ee7dae03631116e4be719bab7d 100644 (file)
 #include <stdlib.h>
 #include <stdio.h>
 
-#ifdef HAVE_ERRNO_H
-#   include <errno.h>
-#else
-    static int errno;
-    /* FIXME: anything clever to put here? */
-#   define EFAULT 12
-#   define ENOTDIR 12
-#   define ENOENT 12
-#   define ENOMEM 12
-#   define EINVAL 12
-#endif
+#include <errno.h>
 #include <string.h>
 #ifndef UNDER_CE
 #   include <io.h>