summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-12 15:57:18 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-12 15:57:18 +0000
commit5d8520ab76cb794358e0bc439d0d1acaabc7dbf8 (patch)
tree206605c31b2558f2b751232f2b8b684228b89356 /openbsd-compat
parent7f982bf6c93ee7ab3426a059af51d21663ed36f0 (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')
-rw-r--r--openbsd-compat/bsd-nextstep.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-nextstep.h b/openbsd-compat/bsd-nextstep.h
index d7f44bfc..120a6605 100644
--- a/openbsd-compat/bsd-nextstep.h
+++ b/openbsd-compat/bsd-nextstep.h
@@ -21,7 +21,7 @@
*
*/
-/* $Id: bsd-nextstep.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
+/* $Id: bsd-nextstep.h,v 1.3 2001/02/12 15:57:18 mouring Exp $ */
#ifndef _NEXT_POSIX_H
#define _NEXT_POSIX_H
@@ -29,6 +29,12 @@
#ifdef HAVE_NEXT
#include <sys/dir.h>
+/*
+ * Temporary hack to let bsd-snprintf.c work. bsd-snprintf.c really
+ * needs to be cleaned up.
+ */
+#define HAVE_STDARG_H 1
+
/* NeXT's readdir() is BSD (struct direct) not POSIX (struct dirent) */
#define dirent direct