diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/HsUnix.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/HsUnix.h b/include/HsUnix.h index fe857ae..49c8a9d 100644 --- a/include/HsUnix.h +++ b/include/HsUnix.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: HsUnix.h,v 1.15 2004/09/02 15:18:10 ross Exp $ + * $Id: HsUnix.h,v 1.16 2004/09/15 15:55:46 stolz Exp $ * * (c) The University of Glasgow 2002 * @@ -71,6 +71,10 @@ #include <dlfcn.h> #endif +#ifdef HAVE_SIGNAL_H +#include <signal.h> +#endif + extern int execvpe(char *name, char **argv, char **envp); extern void pPrPr_disableITimers (void); extern char **environ; @@ -100,4 +104,11 @@ fall back to O_FSYNC, which should be the same */ #define O_SYNC O_FSYNC #endif +#ifdef SIGINFO +INLINE int __hsunix_SIGINFO() { return SIGINFO; } +#endif +#ifdef SIGWINCH +INLINE int __hsunix_SIGWINCH() { return SIGWINCH; } +#endif + #endif |