Changeset 11754a6 for tools/tracetop


Ignore:
Timestamp:
08/03/10 14:42:20 (11 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
a1e177d
Parents:
7876f38
Message:
  • Added check for libnsl if needed for inet_ntop
  • Added check for ncurses.h being inside /usr/include/ncurses/ncurses.h - as it seems to be in a default OpenSolaris? install
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracetop/tracetop.cc

    r7876f38 r11754a6  
    1111#include <queue>
    1212#include <inttypes.h>
    13 #include <ncurses.h>
    1413#include <sys/socket.h>
    1514#include <netdb.h>
     
    1817#include <netpacket/packet.h>
    1918#include <net/ethernet.h>
     19#endif
     20
     21#if HAVE_NCURSES_NCURSES_H
     22#include <ncurses/ncurses.h>
     23#else
     24#include <ncurses.h>
    2025#endif
    2126
Note: See TracChangeset for help on using the changeset viewer.