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 /include | |
parent | 22a3a5d9f8e4470418c575252edd6c8ffb9d47e1 (diff) |
issue #5658, different fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7041 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/file.h | 4 |
1 files changed, 4 insertions, 0 deletions
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> |