aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-06 07:01:06 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-06 07:01:06 +0000
commit7c77f7803fc3ab41abd294d6b1cdc9f18aeea8b8 (patch)
treeb799f8033426c336f40d0313064953d43136afa2 /include/asterisk/compat.h
parent16c9e2051f62daedbdabe5dfda0ceef811e00153 (diff)
Move implementation of closefrom(3) from app.c to strcompat.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@233358 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r--include/asterisk/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index 8d973f6c4..c1f9632e7 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -73,6 +73,10 @@
#include "asterisk/poll-compat.h"
#endif
+#ifndef HAVE_CLOSEFROM
+void closefrom(int lowfd);
+#endif
+
#if !defined(HAVE_ASPRINTF) && !defined(__AST_DEBUG_MALLOC)
int __attribute__((format(printf, 2, 3))) asprintf(char **str, const char *fmt, ...);
#endif