aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_wrappers.c
diff options
context:
space:
mode:
Diffstat (limited to 'pseudo_wrappers.c')
-rw-r--r--pseudo_wrappers.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/pseudo_wrappers.c b/pseudo_wrappers.c
index ad3a8c0..e05f73a 100644
--- a/pseudo_wrappers.c
+++ b/pseudo_wrappers.c
@@ -37,6 +37,9 @@
#include <sys/wait.h>
#include <dlfcn.h>
+/* include this to get PSEUDO_PORT_* definitions */
+#include "pseudo.h"
+
/* used for various specific function arguments */
#include <dirent.h>
#include <fts.h>
@@ -45,12 +48,15 @@
#include <grp.h>
#include <pwd.h>
#include <utime.h>
+#ifdef PSEUDO_PORT_LINUX_STATVFS
+#include <sys/statvfs.h>
+#endif
-#include "pseudo.h"
#include "pseudo_wrapfuncs.h"
#include "pseudo_ipc.h"
#include "pseudo_client.h"
+
/* Types and declarations we need in advance. */
#include "pseudo_wrapper_table.c"