>Just ignore all changes outside src. There are some linux-isms in those diffs, even within src. For example, the dummy malloc() code. Could you wrap such things in #ifdef __linux__ or whatever linux uses? src/nnconf.c is also changed, and you also need to process the patches for the cf directory. Unfortunately, both of these include lots of linux-isms. It would be very nice if somehow the non-linux stuff could be separated out. Evan