summaryrefslogtreecommitdiff
path: root/common/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/compat.h')
-rw-r--r--common/compat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/compat.h b/common/compat.h
index d7fe414..4771370 100644
--- a/common/compat.h
+++ b/common/compat.h
@@ -325,4 +325,11 @@ int strerror_r (int errnum,
#endif /* HAVE_STRERROR_R */
+#ifndef HAVE_FDWALK
+
+int fdwalk (int (* cb) (void *data, int fd),
+ void *data);
+
+#endif
+
#endif /* __COMPAT_H__ */