X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc%2Fincludes%2Flibposix.h;fp=ghc%2Fincludes%2Flibposix.h;h=45350619b4b922a54da7a5dc0ce30607709c8523;hp=0000000000000000000000000000000000000000;hb=e7d21ee4f8ac907665a7e170c71d59e13a01da09;hpb=e48474bff05e6cfb506660420f025f694c870d38 diff --git a/ghc/includes/libposix.h b/ghc/includes/libposix.h new file mode 100644 index 0000000..4535061 --- /dev/null +++ b/ghc/includes/libposix.h @@ -0,0 +1,61 @@ +#ifndef LIBPOSIX_H +#ifdef HAVE_SYS_TYPES_H +#include +#endif /* HAVE_SYS_TYPES_H */ + +#ifdef HAVE_SYS_WAIT_H +#include +#endif /* HAVE_SYS_WAIT_H */ + +#ifdef HAVE_SIGNAL_H +#include +#endif /* HAVE_SIGNAL_H */ + +#ifdef HAVE_SYS_UTSNAME_H +#include +#endif /* HAVE_SYS_UTSNAME_H */ + +#ifdef HAVE_SYS_TIMES_H +#include +#endif /* HAVE_SYS_TIMES_H */ + +#ifdef HAVE_DIRENT_H +#include +#endif /* HAVE_DIRENT_H */ + +#ifdef HAVE_SYS_STAT_H +#include +#endif /* HAVE_SYS_STAT_H */ + +#ifdef HAVE_FCNTL_H +#include +#endif /* HAVE_FCNTL_H */ + +#ifdef HAVE_UNISTD_H +#include +#endif /* HAVE_UNISTD_H */ + +#ifdef HAVE_UTIME_H +#include +#endif /* HAVE_UTIME_H */ + +#ifdef HAVE_TERMIOS_H +#include +#endif /* HAVE_TERMIOS_H */ + +#ifdef HAVE_GRP_H +#include +#endif /* HAVE_GRP_H */ + +#ifdef HAVE_PWD_H +#include +#endif /* HAVE_PWD_H */ + +#ifndef _POSIX_VDISABLE +#define _POSIX_VDISABLE '\0' /* Just a guess...but it works for Suns */ +#endif + +extern I_ nocldstop; + +#define LIBPOSIX_H +#endif