diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-02-12 15:57:18 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-02-12 15:57:18 +0000 |
commit | 5d8520ab76cb794358e0bc439d0d1acaabc7dbf8 (patch) | |
tree | 206605c31b2558f2b751232f2b8b684228b89356 /openbsd-compat/bsd-nextstep.h | |
parent | 7f982bf6c93ee7ab3426a059af51d21663ed36f0 (diff) |
- (bal) added NeXT work around for bsd-snprintf.c in bsd-nextstep.h.
- (bal) added TODO item to clean up and sort out 'varargs' from 'stdargs'
Diffstat (limited to 'openbsd-compat/bsd-nextstep.h')
-rw-r--r-- | openbsd-compat/bsd-nextstep.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-nextstep.h b/openbsd-compat/bsd-nextstep.h index d7f44bfc0..120a66058 100644 --- a/openbsd-compat/bsd-nextstep.h +++ b/openbsd-compat/bsd-nextstep.h | |||
@@ -21,7 +21,7 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | /* $Id: bsd-nextstep.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */ | 24 | /* $Id: bsd-nextstep.h,v 1.3 2001/02/12 15:57:18 mouring Exp $ */ |
25 | 25 | ||
26 | #ifndef _NEXT_POSIX_H | 26 | #ifndef _NEXT_POSIX_H |
27 | #define _NEXT_POSIX_H | 27 | #define _NEXT_POSIX_H |
@@ -29,6 +29,12 @@ | |||
29 | #ifdef HAVE_NEXT | 29 | #ifdef HAVE_NEXT |
30 | #include <sys/dir.h> | 30 | #include <sys/dir.h> |
31 | 31 | ||
32 | /* | ||
33 | * Temporary hack to let bsd-snprintf.c work. bsd-snprintf.c really | ||
34 | * needs to be cleaned up. | ||
35 | */ | ||
36 | #define HAVE_STDARG_H 1 | ||
37 | |||
32 | /* NeXT's readdir() is BSD (struct direct) not POSIX (struct dirent) */ | 38 | /* NeXT's readdir() is BSD (struct direct) not POSIX (struct dirent) */ |
33 | #define dirent direct | 39 | #define dirent direct |
34 | 40 | ||