vde-2.2.2-gcc43.patch 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. diff -NrU5 vde2-2.2.2.orig/src/kvde_switch/consmgmt.c vde2-2.2.2/src/kvde_switch/consmgmt.c
  2. --- vde2-2.2.2.orig/src/kvde_switch/consmgmt.c 2008-09-04 21:14:55.000000000 +0200
  3. +++ vde2-2.2.2/src/kvde_switch/consmgmt.c 2008-09-04 21:16:26.000000000 +0200
  4. @@ -22,10 +22,11 @@
  5. #include <net/if.h>
  6. #include <stdarg.h>
  7. #include <getopt.h>
  8. #include <dlfcn.h>
  9. #include <time.h>
  10. +#include <linux/limits.h>
  11. #include <config.h>
  12. #include <vde.h>
  13. #include <vdecommon.h>
  14. diff -NrU5 vde2-2.2.2.orig/src/kvde_switch/datasock.c vde2-2.2.2/src/kvde_switch/datasock.c
  15. --- vde2-2.2.2.orig/src/kvde_switch/datasock.c 2008-09-04 21:14:55.000000000 +0200
  16. +++ vde2-2.2.2/src/kvde_switch/datasock.c 2008-09-04 21:19:59.000000000 +0200
  17. @@ -24,10 +24,11 @@
  18. #include <net/if.h>
  19. #include <stdarg.h>
  20. #include <grp.h>
  21. #define _GNU_SOURCE
  22. #include <getopt.h>
  23. +#include <linux/limits.h>
  24. #include <config.h>
  25. #include <vde.h>
  26. #include <vdecommon.h>
  27. diff -NrU5 vde2-2.2.2.orig/src/vde_plug2tap.c vde2-2.2.2/src/vde_plug2tap.c
  28. --- vde2-2.2.2.orig/src/vde_plug2tap.c 2008-09-04 21:14:55.000000000 +0200
  29. +++ vde2-2.2.2/src/vde_plug2tap.c 2008-09-04 21:22:23.000000000 +0200
  30. @@ -16,10 +16,11 @@
  31. #include <stdarg.h>
  32. #include <syslog.h>
  33. #include <libgen.h>
  34. #define _GNU_SOURCE
  35. #include <getopt.h>
  36. +#include <linux/limits.h>
  37. #include <config.h>
  38. #include <vde.h>
  39. #include <vdecommon.h>
  40. #include <libvdeplug.h>
  41. diff -NrU5 vde2-2.2.2.orig/src/wirefilter.c vde2-2.2.2/src/wirefilter.c
  42. --- vde2-2.2.2.orig/src/wirefilter.c 2008-09-04 21:14:55.000000000 +0200
  43. +++ vde2-2.2.2/src/wirefilter.c 2008-09-04 21:25:21.000000000 +0200
  44. @@ -29,10 +29,11 @@
  45. #include <sys/time.h>
  46. #include <sys/types.h>
  47. #include <sys/stat.h>
  48. #include <sys/socket.h>
  49. #include <sys/un.h>
  50. +#include <linux/limits.h>
  51. #include <config.h>
  52. #include <vde.h>
  53. #include <vdecommon.h>
  54. #include <libvdeplug.h>