Fix macOS build (#146)

* Fix macOS build
* Fix *BSD build
* Add missing *BSD include
This commit is contained in:
exstrim401
2022-11-27 16:48:27 +03:00
committed by GitHub
parent 53bd92f7a8
commit 2fb712af66
45 changed files with 107 additions and 98 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
* because this file defines png_memcpy and so on the base APIs must
* be defined here.
*/
# ifdef BSD
# ifdef PLATFORM_BSD
# include <strings.h>
# else
# include <string.h>