summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-08-21 22:21:56 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-08-21 22:21:56 +0000
commitdf5cef82c14dc51876b321cecd014cdb96804a2f (patch)
treed184728e5742c453227a9336e3b2be9e2b6db095 /perl.c
parente6d9441ccdcf8bd3f0f10054a692c39b28cfbc5e (diff)
downloadperl-df5cef82c14dc51876b321cecd014cdb96804a2f.tar.gz
Include <unistd.h>
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/perl.c b/perl.c
index 0f2c2c15d2..f1d4aa23fb 100644
--- a/perl.c
+++ b/perl.c
@@ -15,11 +15,10 @@
#include "perl.h"
#include "patchlevel.h"
-/* Omit -- it causes too much grief on mixed systems.
+/* XXX If this causes problems, set i_unistd=undef in the hint file. */
#ifdef I_UNISTD
#include <unistd.h>
#endif
-*/
dEXT char rcsid[] = "perl.c\nPatch level: ###\n";
@@ -35,10 +34,6 @@ dEXT char rcsid[] = "perl.c\nPatch level: ###\n";
#endif
#endif
-#ifndef OSNAME
-#define OSNAME "unknown"
-#endif
-
static void find_beginning _((void));
static void incpush _((char *));
static void init_ids _((void));
@@ -2123,6 +2118,9 @@ init_perllib()
incpush(getenv("PERLLIB"));
}
+/* Use the ~-expanded versions of APPLIB (undocumented),
+ ARCHLIB PRIVLIB SITEARCH SITELIB and OLDARCHLIB
+*/
#ifdef APPLLIB_EXP
incpush(APPLLIB_EXP);
#endif