summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/compat.h b/compat.h
index 90758165..83244541 100644
--- a/compat.h
+++ b/compat.h
@@ -1,4 +1,4 @@
-/* $Id: compat.h,v 1.26 2010-09-07 19:32:58 nicm Exp $ */
+/* $Id: compat.h,v 1.27 2010-10-27 20:21:00 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -163,6 +163,14 @@ typedef uint64_t u_int64_t;
#define bzero(buf, len) memset(buf, 0, len);
#endif
+#ifndef HAVE_CLOSEFROM
+/* closefrom.c */
+#define HAVE_FCNTL_H
+#define HAVE_DIRENT_H
+#define HAVE_SYSCONF
+void closefrom(int);
+#endif
+
#ifndef HAVE_STRCASESTR
/* strcasestr.c */
char *strcasestr(const char *, const char *);