summaryrefslogtreecommitdiff
path: root/os2/os2.c
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1998-10-18 19:20:57 -0400
committerGurusamy Sarathy <gsar@cpan.org>1998-10-25 06:42:29 +0000
commit28743a51b27ece9d3ca5cbbc42381d1c1b7fb950 (patch)
treebf29d92b331f3d340eb58597c28f5fd231586727 /os2/os2.c
parentcc5e57d2fd9821a8c93d8121736585ce8a41aa94 (diff)
downloadperl-28743a51b27ece9d3ca5cbbc42381d1c1b7fb950.tar.gz
Improve sbrk() on OS/2
Message-Id: <199810190320.XAA28249@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2063
Diffstat (limited to 'os2/os2.c')
-rw-r--r--os2/os2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/os2/os2.c b/os2/os2.c
index 19b9f597f6..6c2d67ac1f 100644
--- a/os2/os2.c
+++ b/os2/os2.c
@@ -5,6 +5,8 @@
#define INCL_DOSERRORS
#include <os2.h>
+#include <sys/uflags.h>
+
/*
* Various Unix compatibility functions for OS/2
*/
@@ -1633,6 +1635,7 @@ Perl_OS2_init(char **env)
MALLOC_INIT;
settmppath();
OS2_Perl_data.xs_init = &Xs_OS2_init;
+ _uflags (_UF_SBRK_MODEL, _UF_SBRK_ARBITRARY);
if (environ == NULL) {
environ = env;
}