$NetBSD: patch-ae,v 1.2 2012/04/18 00:09:44 joerg Exp $ --- include/mpeg4ip.h.orig 2005-03-11 23:13:29.000000000 +0000 +++ include/mpeg4ip.h @@ -156,6 +156,9 @@ char *strcasestr(const char *haystack, c #ifdef HAVE_FPOS_T___POS #define FPOS_TO_VAR(fpos, typed, var) (var) = (typed)((fpos).__pos) #define VAR_TO_FPOS(fpos, var) (fpos).__pos = (var) +#elif defined(HAVE_FPOS_T__POS) +#define FPOS_TO_VAR(fpos, typed, var) (var) = (typed)((fpos)._pos) +#define VAR_TO_FPOS(fpos, var) (fpos)._pos = (var) #else #define FPOS_TO_VAR(fpos, typed, var) (var) = (typed)(fpos) #define VAR_TO_FPOS(fpos, var) (fpos) = (var) @@ -233,7 +236,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;