Show
Ignore:
Timestamp:
06/22/08 21:42:16 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1214170936 +0000
git-parent:

[3d709f808bde28c1c85cb21e2228ccf3f9a9226b]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1214170936 +0000
Message:

fix warnings, refs #34

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noitedit/read.c

    r9cd7979 r04662ba  
    5252#include "noitedit/sys.h" 
    5353#include <errno.h> 
     54#include <sys/ioctl.h> 
    5455#if HAVE_UNISTD_H 
    5556#include <unistd.h> 
  • src/noitedit/readline.c

    rd5a973a r04662ba  
    4444#include <sys/types.h> 
    4545#include <sys/stat.h> 
     46#include <sys/ioctl.h> 
    4647#include <stdio.h> 
    4748#if !_MSC_VER 
     
    316317        ch_reset(e); 
    317318 
    318 #ifdef FIONREAD_FOOO 
     319#ifdef FIONREAD 
    319320        ma = &e->el_chared.c_macro; 
    320321        if (e->el_tty.t_mode == EX_IO && ma->level < 0) { 
     
    356357        if (e->el_flags & HANDLE_SIGNALS) 
    357358                sig_clr(e); 
     359        return 0; 
    358360} 
    359361