Hi Paul, thanks, your legend, it worked perfectly first time! Regards, Simon. Thursday, April 10, 2003, 6:41:05 AM, you wrote: PC> Simon, PC> You need to #ifdef out the _XOPEN_SOURCE define in passfd.c - under PC> OpenBSD this suppresses the required u_xxxx typedefs in sys/types.h PC> (see patch below). PC> Also note that you may need to update the makefile to fix the install PC> locations for the install_py & install_mod targets. PC> Regards, PaulC PC> *** passfd.c.orig Wed Apr 9 16:28:38 2003 PC> --- passfd.c Wed Apr 9 16:28:58 2003 PC> *************** PC> *** 5,12 **** PC> --- 5,14 ---- PC> * Neil SchemenauerPC> */ PC> + #ifndef __OpenBSD__ PC> #ifndef _XOPEN_SOURCE PC> #define _XOPEN_SOURCE 500 PC> + #endif PC> #endif PC> #include "Python.h"