diff dwtestoo.cpp @ 2973:ac880987a2c4

Mac: Fix compiling with Xcode 8.2.1, needed #include <stdlib.h> and <errno.h> for missing alloca(), calloc() and errno.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 21 Mar 2023 00:41:25 +0000
parents 2d9521396112
children fffb4904c90b
line wrap: on
line diff
--- a/dwtestoo.cpp	Mon Mar 20 23:30:01 2023 +0000
+++ b/dwtestoo.cpp	Tue Mar 21 00:41:25 2023 +0000
@@ -3,6 +3,7 @@
 // By: Brian Smith and Mark Hessling
 #include "dw.hpp"
 #include <cstdio>
+#include <errno.h>
 
 // Select a fixed width font for our platform 
 #ifdef __OS2__