aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-01-16 16:19:16 +0100
committerBjörn-Egil Dahlberg <[email protected]>2013-01-16 16:19:16 +0100
commit812f666ea3f9034b78a12dc025366c7c31d87c3c (patch)
tree13fa2f92543107bbba30448e1e12859ed439ad1d /erts
parentf3e8f8cbe5429a2b59918d82f39f463bbf64972b (diff)
parent13d7ca8b523224ffea47ba92dcd787dc21d8b699 (diff)
downloadotp-812f666ea3f9034b78a12dc025366c7c31d87c3c.tar.gz
otp-812f666ea3f9034b78a12dc025366c7c31d87c3c.tar.bz2
otp-812f666ea3f9034b78a12dc025366c7c31d87c3c.zip
Merge branch 'yamt/erl_driver-ssize_t/OTP-10699'
* yamt/erl_driver-ssize_t/OTP-10699: Use correct way to pull the definition of ssize_t
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_driver.h b/erts/emulator/beam/erl_driver.h
index 046b46513f..d50ba364d0 100644
--- a/erts/emulator/beam/erl_driver.h
+++ b/erts/emulator/beam/erl_driver.h
@@ -85,7 +85,7 @@
#include "erl_drv_nif.h"
#include <stdlib.h>
-#include <string.h> /* ssize_t on Mac OS X */
+#include <sys/types.h> /* ssize_t */
#if defined(__WIN32__) || defined(_WIN32) || defined(_WIN32_)
#ifndef STATIC_ERLANG_DRIVER