Cross-Platform build scripts for audio plugins
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.

26 lines
494B

  1. diff --git a/src/tramp.c b/src/tramp.c
  2. index 265aeaa..dd3ef23 100644
  3. --- a/src/tramp.c
  4. +++ b/src/tramp.c
  5. @@ -34,6 +34,8 @@
  6. * Add support for other OSes later. For now, it is just Linux.
  7. */
  8. +#define __linux__
  9. +
  10. #if defined __linux__
  11. #ifdef __linux__
  12. #define _GNU_SOURCE 1
  13. @@ -46,10 +48,7 @@
  14. #include <pthread.h>
  15. #include <sys/mman.h>
  16. #include <tramp.h>
  17. -#ifdef __linux__
  18. -#include <linux/limits.h>
  19. -#include <linux/types.h>
  20. -#endif
  21. +#include <limits.h>
  22. #endif /* __linux__ */
  23. /*