freebsd-ports/games/aquaria/files/patch-ExternalLibs_ttvfs_VFSTools.cpp
Rene Ladan 046b39641d games/aquaria: include dirent.h instead of sys/dir.h which is scheduled for removal.
While here modernize USES

PR:		238616
Approved by:	maintainer (jbeich)
Event:		Berlin Hackathon 2019
2019-06-16 14:57:51 +00:00

15 lines
318 B
C++

--- ExternalLibs/ttvfs/VFSTools.cpp.orig 2016-06-19 23:56:27 UTC
+++ ExternalLibs/ttvfs/VFSTools.cpp
@@ -12,11 +12,7 @@
# include <windows.h>
# include <io.h>
#else
-# ifdef __HAIKU__
-# include <dirent.h>
-# else
-# include <sys/dir.h>
-# endif
+# include <dirent.h>
# include <unistd.h>
#endif