blob: 0d231e1ad2b120708912d5f99c9c817d67c2f785 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$NetBSD: patch-ae,v 1.2 2011/01/29 21:00:45 markd Exp $
let <string.h> declare strcasestr() correctly
--- include/mpeg4ip.h.orig 2006-08-07 18:27:00.000000000 +0000
+++ include/mpeg4ip.h
@@ -120,14 +120,6 @@
#endif
#include <sys/param.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-char *strcasestr(const char *haystack, const char *needle);
-#ifdef __cplusplus
-}
-#endif
-
#define OPEN_RDWR O_RDWR
#define OPEN_CREAT O_CREAT
#define OPEN_RDONLY O_RDONLY
@@ -233,7 +225,8 @@ char *strsep(char **strp, const char *de
#define ADV_SPACE(a) {while (isspace(*(a)) && (*(a) != '\0'))(a)++;}
-#ifndef HAVE_GTK
+#ifndef __G_LIB_H__
+/* #ifndef HAVE_GTK */
typedef char gchar;
typedef unsigned char guchar;
|