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)
#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>