home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / forth / pfe-0.000 / pfe-0 / pfe-0.9.13 / src / nonansi.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-17  |  3.2 KB  |  120 lines

  1. /*
  2.  * This file is part of the portable Forth environment written in ANSI C.
  3.  * Copyright (C) 1995  Dirk Uwe Zoller
  4.  *
  5.  * This library is free software; you can redistribute it and/or
  6.  * modify it under the terms of the GNU Library General Public
  7.  * License as published by the Free Software Foundation; either
  8.  * version 2 of the License, or (at your option) any later version.
  9.  *
  10.  * This library is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13.  * See the GNU Library General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU Library General Public
  16.  * License along with this library; if not, write to the Free
  17.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  *
  19.  * This file is version 0.9.13 of 17-July-95
  20.  * Check for the latest version of this package via anonymous ftp at
  21.  *    roxi.rz.fht-mannheim.de:/pub/languages/forth/pfe-VERSION.tar.gz
  22.  * or    sunsite.unc.edu:/pub/languages/forth/pfe-VERSION.tar.gz
  23.  * or    ftp.cygnus.com:/pub/forth/pfe-VERSION.tar.gz
  24.  *
  25.  * Please direct any comments via internet to
  26.  *    duz@roxi.rz.fht-mannheim.de.
  27.  * Thank You.
  28.  */
  29. /*
  30.  * nonansi.h --    Include file, gathers non-ANSI includes for low level
  31.  *        file I/O and operating system access in general.
  32.  *
  33.  * (duz 28Feb95)
  34.  */
  35.  
  36. #ifndef __NONANSI_H
  37. #define __NONANSI_H
  38.  
  39. #if defined HAVE_SYS_IOCTL_H
  40. # include <sys/ioctl.h>    /* structs and constants for low level tty access */
  41. #endif
  42.  
  43. #if defined HAVE_FCNTL_H
  44. # include <fcntl.h>    /* structs and constants for low level file access */
  45. #endif
  46.  
  47. #if defined HAVE_SYS_STAT_H
  48. # include <sys/stat.h>    /* structs and constants for stat() and fstat() */
  49. #endif
  50.  
  51. #if defined HAVE_DIRECT_H
  52. # include <direct.h>    /* directory related */
  53. #endif
  54.  
  55. #if defined HAVE_SYS_NDIR_H
  56. # include <sys/ndir.h>    /* ??? */
  57. #endif
  58.  
  59. #if defined HAVE_UTIME_H
  60. # include <utime.h>    /* file access/modification time structure */
  61. #endif
  62.  
  63. #if defined HAVE_SYS_TIME_H
  64. # include <sys/time.h>
  65. #endif
  66.  
  67. #if defined HAVE_SYS_UTIME_H
  68. # include <sys/utime.h>
  69. #endif
  70.  
  71. #if defined HAVE_POLL_H
  72. # include <poll.h>    /* the poll() system call */
  73. #elif defined HAVE_SYS_POLL_H
  74. # include <sys/poll.h>
  75. #endif
  76.  
  77. #if defined HAVE_SYS_SELECT_H
  78. # include <sys/select.h> /* the select() system call */
  79. #endif
  80.  
  81. #if defined HAVE_PROCESS_H
  82. # include <process.h>    /* fork, exec */
  83. #elif defined HAVE_SYS_PROCESS_H
  84. # include <sys/process.h>
  85. #endif
  86.  
  87. #if defined HAVE_UNISTD_H
  88. # include <unistd.h>    /* most low level file functions on Posix systems */
  89. #endif
  90.  
  91. #if defined HAVE_IO_H
  92. # include <io.h>    /* equivalent to unistd.h on some DOS like systems */
  93. #endif
  94.  
  95. #if defined HAVE_LIBC_H    /* NeXT has this */
  96. # include <libc.h>
  97. #endif
  98.  
  99. #if defined HAVE_CONIO_H
  100. # include <conio.h>    /* DOS like systems define cputs() here */
  101. #endif
  102.  
  103. #if defined HAVE_DOS_H
  104. # include <dos.h>    /* DOS like systems define things like delay() here */
  105. #endif
  106.  
  107. #if defined HAVE_MEM_H
  108. # include <mem.h>    /* some systems have memcpy() here */
  109. #endif
  110.  
  111. #if defined HAVE_MEMORY_H
  112. # include <memory.h>    /* or here */
  113. #endif
  114.  
  115. #if defined HAVE_STRINGS_H
  116. # include <strings.h>    /* place where old BSD systems keep bcopy() */
  117. #endif
  118.  
  119. #endif /* ndef __NONANSI_H */
  120.