You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
848 B

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -122,7 +122,6 @@ OVS_CHECK_SOCKET_LIBS
  4. OVS_CHECK_XENSERVER_VERSION
  5. OVS_CHECK_GROFF
  6. OVS_CHECK_TLS
  7. -OVS_CHECK_ATOMIC_LIBS
  8. OVS_CHECK_GCC4_ATOMICS
  9. OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE(1)
  10. OVS_CHECK_ATOMIC_ALWAYS_LOCK_FREE(2)
  11. --- a/lib/netdev-linux.c
  12. +++ b/lib/netdev-linux.c
  13. @@ -39,7 +39,9 @@
  14. #include <netpacket/packet.h>
  15. #include <net/if.h>
  16. #include <net/if_arp.h>
  17. +#if defined(__UCLIBC__) || defined(__GLIBC__)
  18. #include <net/if_packet.h>
  19. +#endif
  20. #include <net/route.h>
  21. #include <poll.h>
  22. #include <stdlib.h>
  23. --- a/lib/ovs-atomic.h
  24. +++ b/lib/ovs-atomic.h
  25. @@ -320,7 +320,7 @@
  26. #include "util.h"
  27. #define IN_OVS_ATOMIC_H
  28. - #if __CHECKER__
  29. + #if 1
  30. /* sparse doesn't understand some GCC extensions we use. */
  31. #include "ovs-atomic-pthreads.h"
  32. #elif __has_extension(c_atomic)