mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
Fixes for implicit declaration warnings
Signed-off-by: Anuradha Weeraman <aweeraman@gmail.com>
This commit is contained in:
parent
6109f54a5e
commit
49cac9e604
3 changed files with 9 additions and 4 deletions
|
@ -185,6 +185,10 @@
|
|||
# endif /* !FIORDCHK */
|
||||
#endif /* FIONREAD */
|
||||
|
||||
#if _sys_ioctl
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
extern int tty_alt(int);
|
||||
extern void tty_cooked(int);
|
||||
extern int tty_get(int,struct termios*);
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -104,6 +104,7 @@ USAGE_LICENSE
|
|||
#include <ls.h>
|
||||
#include <tv.h>
|
||||
#include <rev.h>
|
||||
#include <time.h>
|
||||
|
||||
#define COUNT (1<<0)
|
||||
#define ERROR (1<<1)
|
||||
|
|
Loading…
Reference in a new issue