aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-05-09 11:00:16 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-05-09 11:00:16 +0200
commitb84b70816cab96ff126449ddc1205853bf175080 (patch)
tree90c50ae564ac528f5dec187385d45c212e16060a /lib
parent7bc46f866e0e90fa6282a2893337be0c4d8d8989 (diff)
parent08e2649b739f911ac8cb4e18fc184108a49c9153 (diff)
downloadotp-b84b70816cab96ff126449ddc1205853bf175080.tar.gz
otp-b84b70816cab96ff126449ddc1205853bf175080.tar.bz2
otp-b84b70816cab96ff126449ddc1205853bf175080.zip
Merge branch 'kostis/os_mon/fix-compilation-sparc/PR-1046/OTP-13548'
* kostis/os_mon/fix-compilation-sparc/PR-1046/OTP-13548: Fix compilation on SUN/SPARC by including <stdlib.h>
Diffstat (limited to 'lib')
-rw-r--r--lib/os_mon/c_src/ferrule.c1
-rw-r--r--lib/os_mon/c_src/mod_syslog.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/os_mon/c_src/ferrule.c b/lib/os_mon/c_src/ferrule.c
index 8c44e52aba..47f8a21270 100644
--- a/lib/os_mon/c_src/ferrule.c
+++ b/lib/os_mon/c_src/ferrule.c
@@ -18,6 +18,7 @@
* %CopyrightEnd%
*/
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <stropts.h>
#include <poll.h>
diff --git a/lib/os_mon/c_src/mod_syslog.c b/lib/os_mon/c_src/mod_syslog.c
index e287ac9090..720b52916e 100644
--- a/lib/os_mon/c_src/mod_syslog.c
+++ b/lib/os_mon/c_src/mod_syslog.c
@@ -18,6 +18,7 @@
* %CopyrightEnd%
*/
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>