Skip to content

Commit

Permalink
Merge pull request kartverket#18 from tibnor/master
Browse files Browse the repository at this point in the history
Made macro to replace vfs.h with mount.h for Mac
  • Loading branch information
relet committed Jan 3, 2015
2 parents 4d075ad + 4d406a3 commit 5b9437e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/UT/DISKINFO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
# include <sys/statvfs.h>
# else
# include <sys/stat.h>
# include <sys/vfs.h>
# ifdef __APPLE__
# include<sys/mount.h>
# else
# include<sys/vfs.h>
# endif
# endif

# include <sys/types.h>
Expand Down
6 changes: 5 additions & 1 deletion src/UT/INQSIZE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
# include<stdio.h>
# include<sys/time.h>
# include<sys/types.h>
# include<sys/vfs.h>
# ifdef __APPLE__
# include<sys/mount.h>
# else
# include<sys/vfs.h>
# endif
# include<fcntl.h>
# include<sys/stat.h>
# include<errno.h>
Expand Down
6 changes: 5 additions & 1 deletion src/UT/INQTID.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
# include<stdio.h>
# include<sys/time.h>
# include<sys/types.h>
# include<sys/vfs.h>
# ifdef __APPLE__
# include<sys/mount.h>
# else
# include<sys/vfs.h>
# endif
# include<fcntl.h>
# include<sys/stat.h>
# include<errno.h>
Expand Down

0 comments on commit 5b9437e

Please sign in to comment.