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
  • lib/libvarnish/vtcp.c

    r080f25 r8aa1d8  
    3232#include <sys/types.h> 
    3333#include <sys/socket.h> 
    34  
    35 #include <netinet/in.h> 
    36  
    37 #ifdef __linux 
    38 #include <netinet/tcp.h> 
    39 #endif 
    40  
    41 #include <errno.h> 
    4234#include <sys/ioctl.h> 
    4335#ifdef HAVE_SYS_FILIO_H 
    44 #include <sys/filio.h> 
    45 #endif 
     36#  include <sys/filio.h> 
     37#endif 
     38 
     39#include <netinet/in.h> 
     40#ifdef __linux 
     41#  include <netinet/tcp.h> 
     42#endif 
     43 
     44#include <errno.h> 
     45#include <math.h> 
    4646#include <netdb.h> 
    4747#include <poll.h> 
     
    5050#include <string.h> 
    5151#include <unistd.h> 
    52 #include <math.h> 
    5352 
    5453#include "vas.h" 
Note: See TracChangeset for help on using the changeset viewer.