patch-net_c 517 B

1234567891011121314151617
  1. --- strace-4.8.orig/net.c 2013-05-18 00:20:02.000000000 +0200
  2. +++ strace-4.8/net.c 2014-02-25 16:06:44.000000000 +0100
  3. @@ -95,12 +95,14 @@
  4. #endif
  5. /* Under Linux these are enums so we can't test for them with ifdef. */
  6. +#if !defined(IPPROTO_MAX)
  7. #define IPPROTO_EGP IPPROTO_EGP
  8. #define IPPROTO_PUP IPPROTO_PUP
  9. #define IPPROTO_IDP IPPROTO_IDP
  10. #define IPPROTO_IGMP IPPROTO_IGMP
  11. #define IPPROTO_RAW IPPROTO_RAW
  12. #define IPPROTO_MAX IPPROTO_MAX
  13. +#endif
  14. static const struct xlat domains[] = {
  15. #ifdef PF_UNSPEC