]> git.sesse.net Git - vlc/blobdiff - compat/fdopendir.c
vlc_plugin: fix non-LGPL plugins meta infos
[vlc] / compat / fdopendir.c
index f982aeaa814d11a993bc36fcdaad59400edf7667..6e597963510d64e9511096098b0867a5cb3fde3b 100644 (file)
@@ -10,7 +10,7 @@
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  * GNU Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public License
@@ -27,9 +27,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
 #include <dirent.h>
 
 DIR *fdopendir (int fd)