1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Fixes for implicit declaration warnings

Signed-off-by: Anuradha Weeraman <aweeraman@gmail.com>
This commit is contained in:
Anuradha Weeraman 2020-06-14 09:55:08 -04:00
parent 6109f54a5e
commit 49cac9e604
3 changed files with 9 additions and 4 deletions

View file

@ -29,6 +29,10 @@
#include <ast.h>
#include <ast_tty.h>
#if _sys_ioctl
#include <sys/ioctl.h>
#endif
#if defined(__STDPP__directive) && defined(__STDPP__hide)
__STDPP__directive pragma pp:hide ioctl sleep
#else
@ -36,10 +40,6 @@ __STDPP__directive pragma pp:hide ioctl sleep
#define sleep ______sleep
#endif
#if _sys_ioctl
#include <sys/ioctl.h>
#endif
#if defined(TIOCGWINSZ)
#if _sys_stream && _sys_ptem
#include <sys/stream.h>