0a3dc72632
In NetBSD-1.6.2, the <stdlib.h> header uses the word bufsize as a parameter name in a function prototype. The "file.h" header #defines bufsize to 4096, which leads to a parser error.
27 lines
628 B
Text
27 lines
628 B
Text
$NetBSD: patch-ab,v 1.3 2005/03/11 21:22:24 rillig Exp $
|
|
|
|
In NetBSD-1.6.2, the <stdlib.h> header uses the word bufsize as a
|
|
parameter name in a function prototype. The "file.h" header #defines
|
|
bufsize to 4096, which leads to a parser error.
|
|
|
|
--- src/ui_cli.c.orig Fri Mar 14 05:55:14 2003
|
|
+++ src/ui_cli.c Fri Mar 11 20:19:55 2005
|
|
@@ -22,14 +22,15 @@
|
|
#include <config.h>
|
|
#endif
|
|
|
|
+#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
+#include <string.h>
|
|
+
|
|
#include "tree.h"
|
|
#include "file.h"
|
|
#include "path.h"
|
|
#include "prefs.h"
|
|
#include "cli.h"
|
|
-#include <stdio.h>
|
|
-#include <stdlib.h>
|
|
-#include <string.h>
|
|
#include "ui_cli.h"
|
|
|
|
|