gnome-core/help-browser/HTParse.c patch for FreeBSD
- From: Josh Sled <jsled scam XCF Berkeley EDU>
- To: gnome-list gnome org
- Subject: gnome-core/help-browser/HTParse.c patch for FreeBSD
- Date: Fri, 15 May 1998 10:30:37 -0700
This fixed a compile time error in HTParse.c This is the same error
I was getting before [<malloc.h> useless and annoying [gives #warning]]
on FreeBSD machines. Using HAVE_MALLOC_H is possible, but it'll
just give that warning. This patch doesn't give the warning...
Woo hoo! Finally got gnome-core up... the panel is pretty cool.... now I
just need some apps to fill it out...
Take care,
...jsled
--- HTParse.c 1998/03/09 04:10:35 1.2
+++ HTParse.c 1998/05/15 17:26:22
@@ -33,7 +33,9 @@
#define GHELP
#if defined(GHELP)
#include <string.h>
-#include <malloc.h>
+#ifndef __FreeBSD__
+#include <malloc.h> // in replacement, FreeBSD needs stdlib.h, defined below
+#endif // __FreeBSD__
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]