patch-include_squid_types_h 721 B

12345678910111213141516171819202122232425262728293031
  1. --- squid-3.1.4.orig/include/squid_types.h 2010-05-30 15:21:12.000000000 +0200
  2. +++ squid-3.1.4/include/squid_types.h 2010-07-31 14:28:05.000000000 +0200
  3. @@ -56,13 +56,16 @@
  4. #ifndef SQUID_TYPES_H
  5. #define SQUID_TYPES_H
  6. +#include <sys/param.h>
  7. /* This should be in synch with what we have in acinclude.m4 */
  8. #if HAVE_SYS_TYPES_H
  9. #include <sys/types.h>
  10. #endif
  11. +#if !defined(BSD)
  12. #if HAVE_LINUX_TYPES_H
  13. #include <linux/types.h>
  14. #endif
  15. +#endif
  16. #if STDC_HEADERS
  17. #include <stdlib.h>
  18. #include <stddef.h>
  19. @@ -70,9 +73,11 @@
  20. #if HAVE_INTTYPES_H
  21. #include <inttypes.h>
  22. #endif
  23. +#if !defined(BSD)
  24. #if HAVE_SYS_BITYPES_H
  25. #include <sys/bitypes.h>
  26. #endif
  27. +#endif
  28. #if HAVE_SYS_SELECT_H
  29. #include <sys/select.h>
  30. #endif