summaryrefslogtreecommitdiff
path: root/libs/ptformat
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-06-26 16:43:07 +0200
committerRobin Gareus <robin@gareus.org>2016-06-26 16:43:07 +0200
commit86763cba906dba3fdbc0c99a42a3f7123eaa380d (patch)
tree2d682830df4637d1b75fab880ec0f2ce98af6b13 /libs/ptformat
parente37b250d4d3d483e708db60ac9774342fd4b9700 (diff)
Enable build for FreeBSD (part 1/2)
Adopted from Michael Beer -- GH pull-request #232 with minor changes: * rebased on master, * removed trailing whitespace, * don't explicitly change saved configuration defaults (wscript) * moved sys/wait (WNOHANG) to header include * separate changes in GUI and lib
Diffstat (limited to 'libs/ptformat')
-rw-r--r--libs/ptformat/ptfformat.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ptformat/ptfformat.cc b/libs/ptformat/ptfformat.cc
index caf2c2f42a..3d66ec025e 100644
--- a/libs/ptformat/ptfformat.cc
+++ b/libs/ptformat/ptfformat.cc
@@ -15,6 +15,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <string>
#include <string.h>
#include <assert.h>