diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-09 02:04:27 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-09 02:04:27 +0000 |
commit | 6bee75761a1fe5589289b0d1c49f793c60b3c2ed (patch) | |
tree | d8c124410e5157c81074fc9fcabc042d7aca99b8 | |
parent | 22a3a5d9f8e4470418c575252edd6c8ffb9d47e1 (diff) |
issue #5658, different fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7041 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | ChangeLog | 2 | ||||
-rwxr-xr-x | include/asterisk/file.h | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,7 @@ 2005-11-08 Kevin P. Fleming <kpfleming@digium.com> + * include/asterisk/file.h: add test to ensure that stdio.h is included before this file (issue #5658) + * res/res_odbc.c (odbc_prepare_and_execute): add new API call for use to properly handle prepared statements across server disconnects (issue #5563) * pbx.c (pbx_substitute_variables_helper_full): use already-substituted buffer for parsing variable name (issue #5664) diff --git a/include/asterisk/file.h b/include/asterisk/file.h index 147a705d8..e52570183 100755 --- a/include/asterisk/file.h +++ b/include/asterisk/file.h @@ -23,6 +23,10 @@ #ifndef _ASTERISK_FILE_H #define _ASTERISK_FILE_H +#ifndef stdin +#error You must include stdio.h before file.h! +#endif /* !stdin */ + #include "asterisk/channel.h" #include "asterisk/frame.h" #include <fcntl.h> |