libselinux: audit2why: work around python bug not defining SIZEOF_SOCKET_T
A at least one broken python headers didn't define SIZEOF_SOCKET_T. Define it if we happen upon one of those. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
4ad1896954
commit
8faf23de0b
|
@ -1,3 +1,8 @@
|
|||
/* Workaround for http://bugs.python.org/issue4835 */
|
||||
#ifndef SIZEOF_SOCKET_T
|
||||
#define SIZEOF_SOCKET_T SIZEOF_INT
|
||||
#endif
|
||||
|
||||
#include <Python.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Reference in New Issue