aboutsummaryrefslogtreecommitdiffstats
path: root/missing.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:09:58 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:09:58 +0300
commitcae8bc6ced84c12590e3554a06a952283735363a (patch)
treeca4f38bfcb1312bfb62fc693564d68f3e9b3e973 /missing.c
parentdbd583bd2b8a6dd40c622875a4e197360cb5aba7 (diff)
downloadegawk-cae8bc6ced84c12590e3554a06a952283735363a.tar.gz
egawk-cae8bc6ced84c12590e3554a06a952283735363a.tar.bz2
egawk-cae8bc6ced84c12590e3554a06a952283735363a.zip
Move to 2.14.
Diffstat (limited to 'missing.c')
-rw-r--r--missing.c22
1 files changed, 7 insertions, 15 deletions
diff --git a/missing.c b/missing.c
index daf16e60..66c79b41 100644
--- a/missing.c
+++ b/missing.c
@@ -5,10 +5,10 @@
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
-#ifndef VAXC
+#if !defined(VMS) || (!defined(VAXC) && !defined(__DECC))
#include <fcntl.h>
#include <sys/types.h>
-#else /*VAXC (VMS)*/
+#else /*VMS w/ VAXC or DECC*/
#include <file.h>
#include <types.h>
#endif
@@ -16,6 +16,10 @@
#include "config.h"
+#ifdef STDC_HEADERS
+#include <string.h>
+#endif
+
#ifdef TZSET_MISSING
#include <sys/time.h>
#else
@@ -29,7 +33,7 @@
*/
#include "atari/stack.c"
#include "atari/tmpnam.c"
-#include "atari/textrd.c" /* gnulib bug fix */
+/* #include "atari/textrd.c" */ /* current libraries are correct bug fix */
#endif /* atarist */
#ifdef SYSTEM_MISSING
@@ -40,10 +44,6 @@
#endif
#endif /* SYSTEM_MISSING */
-#ifdef GETOPT_MISSING
-#include "missing/getopt.c"
-#endif /* GETOPT_MISSING */
-
#ifdef MEMCMP_MISSING
#include "missing/memcmp.c"
#endif /* MEMCMP_MISSING */
@@ -80,14 +80,6 @@
#include "missing/strtod.c"
#endif /* STRTOD_MISSING */
-#ifdef STRTOL_MISSING
-#include "missing/strtol.c"
-#endif /* STRTOL_MISSING */
-
-#if defined(VPRINTF_MISSING) && defined(BSDSTDIO)
-#include "missing/vprintf.c"
-#endif /* VPRINTF_MISSING && BSDSTDIO */
-
#ifdef TZSET_MISSING
#include "missing/tzset.c"
#endif /* TZSET_MISSING */