summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/unix.ml
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/unix.ml')
-rw-r--r--otherlibs/unix/unix.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/otherlibs/unix/unix.ml b/otherlibs/unix/unix.ml
index 1f2b35c19..d368d37d7 100644
--- a/otherlibs/unix/unix.ml
+++ b/otherlibs/unix/unix.ml
@@ -106,6 +106,8 @@ let handle_unix_error f arg =
exit 2
external environment : unit -> string array = "unix_environment"
+external getenv: string -> string = "sys_getenv"
+external putenv: string -> string -> unit = "unix_putenv"
type process_status =
WEXITED of int