It looks like perl.h includes win32.h which includes windows.h. -Ken
> -----Original Message----- > From: Eric Wilhelm [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 20, 2005 10:30 AM > To: inline@perl.org > Subject: Re: Inline automatically includes windows.h on Win32 ?? > > # from Sisyphus > # on Wednesday 20 July 2005 05:14 am: > > >Given that windows.h is being included for me, how might I go about > >undoing that ? > > Start digging. I don't see anything in Inline::C besides this: > > #include "EXTERN.h" > #include "perl.h" > #include "XSUB.h" > #include "INLINE.h" > > Maybe one of those is your culprit?