home *** CD-ROM | disk | FTP | other *** search
/ ftp.uni-stuttgart.de/pub/systems/acorn/ / Acorn.tar / Acorn / acornet / dev / gawk.spk / gawk-2154 / c / missing < prev    next >
Text File  |  1993-05-06  |  2KB  |  90 lines

  1. /*
  2.  * Do all necessary includes here, so that we don't have to worry about
  3.  * overlapping includes in the files in missing.d.
  4.  */
  5. #include <stdio.h>
  6. #include <ctype.h>
  7. #include <errno.h>
  8. #if !defined(VMS) || (!defined(VAXC) && !defined(__DECC))
  9. #include <fcntl.h>
  10. #include <sys/types.h>
  11. #else    /*VMS w/ VAXC or DECC*/
  12. #include <file.h>
  13. #include <types.h>
  14. #endif
  15. #include <varargs.h>
  16.  
  17. #include "config.h"
  18.  
  19. #ifndef __STDC__
  20. #define const
  21. #endif /* !__STDC__ */
  22.  
  23. #ifdef STDC_HEADERS
  24. #include <string.h>
  25. #endif
  26.  
  27. #ifdef TZSET_MISSING
  28. #include <sys/time.h>
  29. #else
  30. #include <time.h>
  31. #endif
  32.  
  33. #ifdef atarist
  34. /*
  35.  * this will work with gcc compiler - for other compilers you may
  36.  * have to replace path separators in this file into backslashes
  37.  */
  38. #include "atari/stack.c"
  39. #include "atari/tmpnam.c"
  40. /* #include "atari/textrd.c" */    /* current libraries are correct bug fix */
  41. #endif /* atarist */
  42.  
  43. #ifdef SYSTEM_MISSING
  44. #ifdef atarist
  45. #include "atari/system.c"
  46. #else
  47. #include "missing/system.c"
  48. #endif
  49. #endif /* SYSTEM_MISSING */
  50.  
  51. #ifdef MEMCMP_MISSING
  52. #include "missing/memcmp.c"
  53. #endif    /* MEMCMP_MISSING */
  54.  
  55. #ifdef MEMCPY_MISSING
  56. #include "missing/memcpy.c"
  57. #endif    /* MEMCPY_MISSING */
  58.  
  59. #ifdef MEMSET_MISSING
  60. #include "missing/memset.c"
  61. #endif    /* MEMSET_MISSING */
  62.  
  63. #ifdef RANDOM_MISSING
  64. #include "missing/random.c"
  65. #endif    /* RANDOM_MISSING */
  66.  
  67. #ifdef STRCASE_MISSING
  68. #include "missing/strncasecmp.c"
  69. #endif    /* STRCASE_MISSING */
  70.  
  71. #ifdef STRERROR_MISSING
  72. #include "missing/strerror.c"
  73. #endif    /* STRERROR_MISSING */
  74.  
  75. #ifdef STRFTIME_MISSING
  76. #include "missing/strftime.c"
  77. #endif    /* STRFTIME_MISSING */
  78.  
  79. #ifdef STRCHR_MISSING
  80. #include "missing/strchr.c"
  81. #endif    /* STRCHR_MISSING */
  82.  
  83. #ifdef STRTOD_MISSING
  84. #include "missing/strtod.c"
  85. #endif    /* STRTOD_MISSING */
  86.  
  87. #ifdef TZSET_MISSING
  88. #include "missing/tzset.c"
  89. #endif /* TZSET_MISSING */
  90.