pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-devel] Building PAN on Windows


From: Charles Kerr
Subject: Re: [Pan-devel] Building PAN on Windows
Date: Tue, 07 Feb 2006 16:21:39 -0600
User-agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929)

K. Haley wrote:
DPA wrote:

gmime-stream.h:48: error: `SEEK_SET' undeclared here (not in a function)
gmime-stream.h:48: error: enumerator value for `GMIME_STREAM_SEEK_SET'
not integer constant
gmime-stream.h:49: error: `SEEK_CUR' undeclared here (not in a function)
gmime-stream.h:49: error: enumerator value for `GMIME_STREAM_SEEK_CUR'
not integer constant
gmime-stream.h:50: error: `SEEK_END' undeclared here (not in a function)
gmime-stream.h:50: error: enumerator value for `GMIME_STREAM_SEEK_END'
not integer constant


I was able to compile it fine on Linux, so am I possibly missing a
library or is something else wrong?


IIRC those are defined in stdlib.h or stdio.h.  Just grep for SEEK_SET
and add the appropriate include to gmime-stream.h.

Adding #include <stdio.h> to the top of gmime-stream.h should do it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]