*** ./addrs_dlpi.c.ORIG Mon Mar 18 15:20:54 2013 --- ./addrs_dlpi.c Mon Mar 18 15:21:05 2013 *************** *** 21,27 **** --- 21,29 ---- #include #include + #ifndef _AIX #include + #endif #include #include #include *** ./edline.c.ORIG Mon Mar 18 16:05:00 2013 --- ./edline.c Mon Mar 18 16:05:39 2013 *************** *** 7,13 **** static const char rcsid[] = "$Id: edline.c,v 1.2 2002/11/04 12:27:35 chris Exp $"; #include ! #include #include #include "iftop.h" --- 7,13 ---- static const char rcsid[] = "$Id: edline.c,v 1.2 2002/11/04 12:27:35 chris Exp $"; #include ! #include #include #include "iftop.h" *** ./iftop.c.ORIG Mon Mar 18 16:05:13 2013 --- ./iftop.c Mon Mar 18 16:05:36 2013 *************** *** 21,27 **** #include #include ! #include #include #include #include --- 21,27 ---- #include #include ! #include #include #include #include *** ./configure.ORIG Mon Mar 18 16:49:10 2013 --- ./configure Mon Mar 18 16:49:34 2013 *************** *** 7568,7574 **** { $as_echo "$as_me:$LINENO: checking for a curses library containing mvchgat" >&5 $as_echo_n "checking for a curses library containing mvchgat... " >&6; } oldLIBS=$LIBS ! for curseslib in ncursesw curses ncurses ; do LIBS="$oldLIBS -l$curseslib" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ --- 7568,7574 ---- { $as_echo "$as_me:$LINENO: checking for a curses library containing mvchgat" >&5 $as_echo_n "checking for a curses library containing mvchgat... " >&6; } oldLIBS=$LIBS ! for curseslib in ncurses ncursesw curses ; do LIBS="$oldLIBS -l$curseslib" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ *** ./dlcommon.c.ORIG Fri Oct 12 21:09:09 2018 --- ./dlcommon.c Fri Oct 12 21:10:04 2018 *************** *** 1214,1225 **** } char* ! dlerrno(errno) ! u_long errno; { static char errnobuf[80]; ! switch (errno) { CASERET(DL_ACCESS); CASERET(DL_BADADDR); CASERET(DL_BADCORR); --- 1214,1225 ---- } char* ! dlerrno(my_errno) ! u_long my_errno; { static char errnobuf[80]; ! switch (my_errno) { CASERET(DL_ACCESS); CASERET(DL_BADADDR); CASERET(DL_BADCORR); *************** *** 1250,1256 **** CASERET(DL_PENDING); default: ! (void) sprintf(errnobuf, "unknown dlpi errno 0x%x", errno); return (errnobuf); } } --- 1250,1256 ---- CASERET(DL_PENDING); default: ! (void) sprintf(errnobuf, "unknown dlpi errno 0x%x", my_errno); return (errnobuf); } }