Ignore:
Timestamp:
2011-10-10 10:53:50 (3 years ago)
Author:
Poul-Henning Kamp <phk@…>
Branches:
master, 4.0, experimental-ims
Children:
81386d
Parents:
9d0ec2a
git-author:
Poul-Henning Kamp <phk@…> (2011-10-10 10:53:50)
git-committer:
Poul-Henning Kamp <phk@…> (2011-10-10 10:53:50)
Message:

Eliminate nested <*.h> includes from include/*

Sort #includes according to rules which are for me to know and you
to guess.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/varnishstat/varnishstat_curses.c

    r080f25 r8aa1d8  
    3333#include "config.h" 
    3434 
    35 #include "vapi/vsm.h" 
    36 #include "vapi/vsc.h" 
    37  
    3835#include <sys/time.h> 
    3936 
    4037#ifdef HAVE_NCURSES_CURSES_H 
    41 #include <ncurses/curses.h> 
    42 #elif HAVE_CURSES_H 
    43 #include <curses.h> 
     38#  include <ncurses/curses.h> 
     39#endif 
     40 
     41#ifndef HAVE_NCURSES_CURSES_H 
     42#  ifdef HAVE_CURSES_H 
     43#    include <curses.h> 
     44#  endif 
    4445#endif 
    4546#include <errno.h> 
     
    5152#include <unistd.h> 
    5253 
     54#include "varnishstat.h" 
     55 
     56#include "vapi/vsc.h" 
     57#include "vapi/vsm.h" 
    5358#include "vqueue.h" 
    54 #include "varnishstat.h" 
    5559 
    5660#if 0 
Note: See TracChangeset for help on using the changeset viewer.