C code will only be portable if you use the ANSI/ISO subset of the language, which should be portable given you have an ANSI/ISO compliant compiler. It looks like a number of the header files you are using are system headers that are OS dependant, however a number of third party libraries and utilities are available for porting from window to unix.
I recommend using Cygwin, which is what I use ( though their are a number of Open Source/ Commercial products on the market). Check out http://www.cygwin.com/
-- that should get you pointed in the right directions.
quote:Originally posted by MAtkins
I understand that C is portable if compiled for the OS.
I'm trying to use code that includes these:
These are Linux files that apparantly depend on a Linux OS w/ Linux functionality.
I'm guessing that this code is not executable in Windows?
How can I make it executable in Windows?