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.

24 lines
468 B

  1. --- a/src/system.h
  2. +++ b/src/system.h
  3. @@ -83,10 +83,6 @@
  4. #include <linux/sysinfo.h>
  5. #endif
  6. -#ifdef HAVE_SYS_SYSINFO_H
  7. -#include <sys/sysinfo.h>
  8. -#endif
  9. -
  10. #ifdef HAVE_TIME_H
  11. #include <time.h>
  12. #endif
  13. @@ -139,6 +135,10 @@
  14. #include <linux/un.h>
  15. #endif
  16. +#ifdef HAVE_SYS_SYSINFO_H
  17. +#include <sys/sysinfo.h>
  18. +#endif
  19. +
  20. #elif defined (__FreeBSD__) || defined (__APPLE__) || defined (__OpenBSD__) || defined (__NetBSD__)
  21. #include <net/if.h>
  22. #include <net/bpf.h>