Browse Source

The sys/types.h header is brought in via the generic_types.h header. Adjust accordingly.

ahc_fix_select
tedbullock 16 years ago
parent
commit
c337ff0dd6
18 changed files with 29 additions and 42 deletions
  1. +1
    -2
      httperf/src/conn.c
  2. +3
    -3
      httperf/src/core.c
  3. +2
    -1
      httperf/src/gen/call_seq.c
  4. +2
    -2
      httperf/src/gen/conn_rate.c
  5. +1
    -2
      httperf/src/gen/sess_cookie.c
  6. +2
    -2
      httperf/src/gen/uri_wlog.c
  7. +2
    -2
      httperf/src/gen/wsess.c
  8. +2
    -2
      httperf/src/gen/wsesslog.c
  9. +2
    -2
      httperf/src/gen/wsesspage.c
  10. +2
    -2
      httperf/src/http.c
  11. +2
    -4
      httperf/src/httperf.c
  12. +2
    -4
      httperf/src/idleconn.c
  13. +1
    -1
      httperf/src/lib/ssl_writev.c
  14. +1
    -2
      httperf/src/object.c
  15. +0
    -5
      httperf/src/sess.h
  16. +2
    -2
      httperf/src/stat/basic.c
  17. +1
    -2
      httperf/src/stat/print_reply.c
  18. +1
    -2
      httperf/src/stat/sess_stat.c

+ 1
- 2
httperf/src/conn.c View File

@@ -39,10 +39,9 @@
#include <stdlib.h>
#include <string.h>

#include <sys/types.h>
#include <generic_types.h>
#include <event.h>

#include <generic_types.h>
#include <object.h>
#include <timer.h>
#include <httperf.h>


+ 3
- 3
httperf/src/core.c View File

@@ -44,18 +44,18 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/resource.h> /* grrr, must come after sys/types.h for BSD */
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
#include <event.h>

#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>

#include <generic_types.h>
#include <sys/resource.h> /* after sys/types.h for BSD (in generic_types.h) */
#include <event.h>

#include <object.h>
#include <timer.h>
#include <httperf.h>


+ 2
- 1
httperf/src/gen/call_seq.c View File

@@ -38,9 +38,10 @@

#include <assert.h>
#include <sys/types.h>
#include <event.h>

#include <generic_types.h>
#include <event.h>

#include <object.h>
#include <timer.h>
#include <httperf.h>


+ 2
- 2
httperf/src/gen/conn_rate.c View File

@@ -39,10 +39,10 @@

#include <assert.h>
#include <stdio.h>
#include <sys/types.h>
#include <event.h>

#include <generic_types.h>
#include <event.h>

#include <object.h>
#include <timer.h>
#include <httperf.h>


+ 1
- 2
httperf/src/gen/sess_cookie.c View File

@@ -49,10 +49,9 @@
#include <stdlib.h>
#include <string.h>

#include <sys/types.h>
#include <generic_types.h>
#include <event.h>

#include <generic_types.h>
#include <object.h>
#include <timer.h>
#include <httperf.h>


+ 2
- 2
httperf/src/gen/uri_wlog.c View File

@@ -75,11 +75,11 @@
#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <event.h>

#include <generic_types.h>
#include <event.h>

#include <object.h>
#include <timer.h>
#include <httperf.h>


+ 2
- 2
httperf/src/gen/wsess.c View File

@@ -42,10 +42,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <event.h>

#include <generic_types.h>
#include <event.h>

#include <object.h>
#include <timer.h>
#include <httperf.h>


+ 2
- 2
httperf/src/gen/wsesslog.c View File

@@ -81,10 +81,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <event.h>

#include <generic_types.h>
#include <event.h>

#include <object.h>
#include <timer.h>
#include <httperf.h>


+ 2
- 2
httperf/src/gen/wsesspage.c View File

@@ -47,10 +47,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <event.h>

#include <generic_types.h>
#include <event.h>

#include <object.h>
#include <timer.h>
#include <httperf.h>


+ 2
- 2
httperf/src/http.c View File

@@ -41,10 +41,10 @@
#include <stdlib.h>
#include <string.h>

#include <sys/types.h>
#include <generic_types.h>
#include <event.h>

#include <generic_types.h>
#include <object.h>
#include <timer.h>
#include <call.h>


+ 2
- 4
httperf/src/httperf.c View File

@@ -70,13 +70,11 @@
#endif

#include <sys/time.h>
#include <sys/resource.h>
#include <sys/types.h>

/* LIBEVENT */
#include <generic_types.h>
#include <sys/resource.h> /* after sys/types.h for BSD (in generic_types.h) */
#include <event.h>

#include <generic_types.h>
#include <object.h>
#include <timer.h>
#include <conn.h>


+ 2
- 4
httperf/src/idleconn.c View File

@@ -34,19 +34,17 @@
#include <stdlib.h>
#include <string.h> /* For strrchr() */
#include <signal.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <inttypes.h>

#include <sys/time.h>
#include <sys/types.h>

#include <generic_types.h>
#include <event.h>
#include <evdns.h>

#include <generic_types.h>
#include <list.h>

/*


+ 1
- 1
httperf/src/lib/ssl_writev.c View File

@@ -61,7 +61,7 @@ char *alloca ();

#include <string.h>

#include <sys/types.h>
#include <generic_types.h>
#include <sys/uio.h>

#include <openssl/rsa.h>


+ 1
- 2
httperf/src/object.c View File

@@ -40,10 +40,9 @@
#include <stdlib.h>
#include <string.h>

#include <sys/types.h>
#include <generic_types.h>
#include <event.h>

#include <generic_types.h>
#include <object.h>
#include <timer.h>
#include <httperf.h>


+ 0
- 5
httperf/src/sess.h View File

@@ -35,11 +35,6 @@
#ifndef sess_h
#define sess_h

#include <sys/types.h>

#include <httperf.h>
#include <object.h>

#ifdef HAVE_SSL
# include <openssl/ssl.h>
#endif


+ 2
- 2
httperf/src/stat/basic.c View File

@@ -40,11 +40,11 @@
#include <errno.h>
#include <float.h>
#include <stdio.h>

#include <generic_types.h>
#include <sys/resource.h>
#include <sys/types.h>
#include <event.h>

#include <generic_types.h>
#include <object.h>
#include <timer.h>
#include <httperf.h>


+ 1
- 2
httperf/src/stat/print_reply.c View File

@@ -42,10 +42,9 @@
#include <stdlib.h>
#include <string.h>

#include <sys/types.h>
#include <generic_types.h>
#include <event.h>

#include <generic_types.h>
#include <object.h>
#include <timer.h>
#include <httperf.h>


+ 1
- 2
httperf/src/stat/sess_stat.c View File

@@ -42,10 +42,9 @@
#include <stdlib.h>
#include <string.h>

#include <sys/types.h>
#include <generic_types.h>
#include <event.h>

#include <generic_types.h>
#include <object.h>
#include <timer.h>
#include <httperf.h>


Loading…
Cancel
Save