- Fix build with gcc 4.X
PR: ports/106745 Submitted by: trasz
This commit is contained in:
parent
60ad617801
commit
9f6a2af27e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179917
34
net-im/icb/files/patch-icb::icb.h
Normal file
34
net-im/icb/files/patch-icb::icb.h
Normal file
@ -0,0 +1,34 @@
|
||||
--- icb/icb.h.orig Fri Dec 15 01:33:57 2006
|
||||
+++ icb/icb.h Fri Dec 15 01:34:21 2006
|
||||
@@ -129,15 +129,6 @@
|
||||
#endif
|
||||
|
||||
|
||||
-/* include function prototypes if ANSI compiler */
|
||||
-/* otherwise, include file that shows return type for each function */
|
||||
-
|
||||
-#if defined __STDC__ || defined __GNUC__
|
||||
-#include "protos.h"
|
||||
-#else
|
||||
-#include "funcs.h"
|
||||
-#endif
|
||||
-
|
||||
#define MAX_HOSTLEN 256
|
||||
#define MAX_PASSLEN 256
|
||||
|
||||
@@ -182,6 +173,15 @@
|
||||
ColPERSFROMHILITE,
|
||||
ColTIMESTAMP
|
||||
} colorlist;
|
||||
+
|
||||
+/* include function prototypes if ANSI compiler */
|
||||
+/* otherwise, include file that shows return type for each function */
|
||||
+
|
||||
+#if defined __STDC__ || defined __GNUC__
|
||||
+#include "protos.h"
|
||||
+#else
|
||||
+#include "funcs.h"
|
||||
+#endif
|
||||
|
||||
|
||||
/* Returns an ANSI color sequence for 'primary', or for
|
Loading…
Reference in New Issue
Block a user