patch-include_iptables_common_h 659 B

12345678910111213141516171819202122232425
  1. --- iproute2-3.12.0.orig/include/iptables_common.h 2013-11-23 02:10:33.000000000 +0100
  2. +++ iproute2-3.12.0/include/iptables_common.h 2014-04-05 05:21:46.946376336 +0200
  3. @@ -1,5 +1,8 @@
  4. #ifndef _IPTABLES_COMMON_H
  5. #define _IPTABLES_COMMON_H
  6. +
  7. +#include <stdint.h>
  8. +
  9. /* Shared definitions between ipv4 and ipv6. */
  10. enum exittype {
  11. @@ -43,9 +46,9 @@ extern char *lib_dir;
  12. extern void init_extensions(void);
  13. #endif
  14. -#define __be32 u_int32_t
  15. -#define __le32 u_int32_t
  16. -#define __be16 u_int16_t
  17. -#define __le16 u_int16_t
  18. +#define __be32 uint32_t
  19. +#define __le32 uint32_t
  20. +#define __be16 uint16_t
  21. +#define __le16 uint16_t
  22. #endif /*_IPTABLES_COMMON_H*/