Skip to content

Commit

Permalink
I think sys/mount.h is only needed in the ucred.h path.
Browse files Browse the repository at this point in the history
Fixes building on hurd, I think.
  • Loading branch information
icculus committed May 3, 2009
1 parent cedcd95 commit 94d1b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform_unix.c
Expand Up @@ -23,7 +23,6 @@
#include <dirent.h>
#include <time.h>
#include <errno.h>
#include <sys/mount.h>

#if (!defined PHYSFS_NO_PTHREADS_SUPPORT)
#include <pthread.h>
Expand All @@ -33,6 +32,7 @@
# ifdef PHYSFS_HAVE_MNTENT_H
# undef PHYSFS_HAVE_MNTENT_H /* don't do both... */
# endif
# include <sys/mount.h>
# include <sys/ucred.h>
#endif

Expand Down

0 comments on commit 94d1b71

Please sign in to comment.