"malloc.h" is not mandated by ANSI C and hence not needed by standard conforming programs. All the "malloc" and friends are declared in <stdlib.h>, so include that instead. Mumit - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".