nixpkgs-suyu/pkgs/applications/audio/chuck/darwin-limits.patch

14 lines
338 B
Diff
Raw Normal View History

2019-07-31 14:05:55 +02:00
--- a/src/core/util_string.cpp 2014-10-27 22:52:11.875981552 +0100
+++ b/src/core/util_string.cpp 2014-10-27 22:54:18.613001994 +0100
2014-10-27 23:28:10 +01:00
@@ -40,6 +40,10 @@
#include <linux/limits.h>
#endif // __PLATFORM_LINUX__
+#ifdef __PLATFORM_MACOSX__
+#include <limits.h>
+#endif // __PLATFORM_MACOSX__
+
#include <stdio.h>
using namespace std;