summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2009-12-06 07:01:06 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2009-12-06 07:01:06 +0000
commitcfd17ef0a6a10d87178506e8b4e869f51d126a25 (patch)
treeb799f8033426c336f40d0313064953d43136afa2 /include/asterisk
parent4fd45889df31fd93ba7ce87e5075a7fda71a118e (diff)
Move implementation of closefrom(3) from app.c to strcompat.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@233358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-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