diff options
author | Maurits Lamers <maurits@weidestraat.nl> | 2019-01-07 11:59:27 +0100 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2019-01-08 13:03:12 +1100 |
commit | 88b6f56a79fe716af6f23144693c8142ad645219 (patch) | |
tree | ee304cb3fdf800c29eb0fc9841c54a708c4fff22 | |
parent | 877fa2812ff7c1854cd2a255108fd351b9c4d7d4 (diff) |
adding stdlib includes to get compilation on macOS
-rw-r--r-- | ptftool.cc | 1 | ||||
-rw-r--r-- | ptgenmissing.cc | 1 | ||||
-rw-r--r-- | ptunxor.cc | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -22,6 +22,7 @@ #include "ptformat/ptfformat.h" #include <inttypes.h> // PRIxyy #include <cstdio> +#include <stdlib.h> using namespace std; using std::string; diff --git a/ptgenmissing.cc b/ptgenmissing.cc index b874b17..e40d64c 100644 --- a/ptgenmissing.cc +++ b/ptgenmissing.cc @@ -22,6 +22,7 @@ #include "ptformat/ptfformat.h" #include <inttypes.h> // PRIx #include <cstdio> +#include <stdlib.h> using namespace std; using std::string; @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ - +#include <stdlib.h> #include <cstdio> #include <inttypes.h> #include "ptformat/ptfformat.h" |