13 lines
519 B
Plaintext
13 lines
519 B
Plaintext
$OpenBSD: patch-lib_getarg_h,v 1.1 2003/12/28 18:42:46 espie Exp $
|
|
--- lib/getarg.h.orig 2003-12-28 19:23:47.000000000 +0100
|
|
+++ lib/getarg.h 2003-12-28 19:29:33.000000000 +0100
|
|
@@ -16,7 +16,7 @@
|
|
#define CMD_ERR_NumRead 4 /* Failed on reading number. */
|
|
#define CMD_ERR_AllSatis 5 /* Fail to satisfy (must-'!') option. */
|
|
|
|
-#ifdef HAVE_VARARGS_H
|
|
+#if defined(HAVE_VARARGS_H) && !defined(STDC_HEADERS)
|
|
int GAGetArgs(int va_alist, ...);
|
|
#else
|
|
int GAGetArgs(int argc, char **argv, char *CtrlStr, ...);
|