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.