--- demo.cpp	2023-07-15 23:41:56.000000000 +0800
+++ demo.cpp	2023-07-25 13:33:59.000000000 +0800
@@ -14,7 +14,9 @@
 #include <SDL2/SDL_video.h>
 
 #include <assert.h>
+#ifndef __APPLE__
 #include <features.h>
+#endif
 #include <math.h>
 #include <png.h>
 #include <pngconf.h>
