aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <[email protected]>2012-11-15 18:51:21 +0900
committerBjörn-Egil Dahlberg <[email protected]>2013-01-16 16:13:40 +0100
commit13d7ca8b523224ffea47ba92dcd787dc21d8b699 (patch)
tree24630b6b6a5c2e1bd1c6f45f1e24e08f0cdf011a /erts
parent55c2b0b6d55fe6a011671832b5529cb1c7b636a8 (diff)
downloadotp-13d7ca8b523224ffea47ba92dcd787dc21d8b699.tar.gz
otp-13d7ca8b523224ffea47ba92dcd787dc21d8b699.tar.bz2
otp-13d7ca8b523224ffea47ba92dcd787dc21d8b699.zip
Use correct way to pull the definition of ssize_t
Necessary for NetBSD with _POSIX_SOURCE at least.
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 1ae9a211d7..c374602236 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(VXWORKS)
# include <ioLib.h>