gnome-core/help-browser/mime.c patch for FreeBSD
- From: Josh Sled <jsled scam XCF Berkeley EDU>
- To: gnome-list gnome org
- Subject: gnome-core/help-browser/mime.c patch for FreeBSD
- Date: Fri, 15 May 1998 10:33:27 -0700
On FreeBSD machines, /usr/include/wait.h does not exist. On Linux boxes
[well, on the one Linux box I checked] /usr/include/wait.h just seems to
include /usr/include/sys/wait.h. Therefore, this patch...
--- mime.c 1998/03/10 22:41:54 1.14
+++ mime.c 1998/05/15 17:26:23
@@ -1,12 +1,20 @@
/* handles MIME type recognition and conversion to HTML */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <signal.h>
#include <ctype.h>
#include <fcntl.h>
+#ifdef HAVE_WAIT_H
#include <wait.h>
+#else
+#include <sys/wait.h>
+#endif // HAVE_WAIT_H
#include <errno.h>
#include <string.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]