diff options
Diffstat (limited to '')
-rw-r--r-- | include/util.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index f480f48f3..cd4d488ca 100644 --- a/include/util.h +++ b/include/util.h @@ -166,6 +166,15 @@ char *strlwr(char *a); #endif +/**** other missing stuff ****/ +#ifndef HAVE_ATEXIT /* For SunOS */ + #define atexit(a) (on_exit((a),0)) +#endif + +#ifndef HAVE_RAISE + #define raise(a) kill(getpid(), (a)) +#endif + /******** some macros ************/ #ifndef STR #define STR(v) #v |