Index: PAMmodule.c =================================================================== --- PAMmodule.c +++ PAMmodule.c 2013-02-22 08:37:06.332678430 +0100 @@ -7,12 +7,15 @@ * Released under GNU LGPL version 2.1. */ + #define _GNU_SOURCE 1 + static char revision[] = "$Id: PAMmodule.c,v 1.3 2007/04/18 03:55:11 rob Exp $"; #include <security/pam_appl.h> #include <security/pam_misc.h> #include <Python.h> #include <stdio.h> +#include <string.h> #include <dlfcn.h> static PyObject *PyPAM_Error;