Projects
Wiki     Timeline     Roadmap     Browse Source     View Tickets     New Ticket     Search

Ticket #37: python-include

File python-include, 472 bytes (added by agx@…, 8 years ago)
Line 
1Index: pykerberos/src/kerberos.c
2===================================================================
3--- pykerberos.orig/src/kerberos.c      2006-08-24 14:26:10.000000000 +0200
4+++ pykerberos/src/kerberos.c   2006-08-24 14:27:44.000000000 +0200
5@@ -16,7 +16,11 @@
6  * DRI: Cyrus Daboo, cdaboo@apple.com
7  **/
8 
9-#include <Python/Python.h>
10+#ifdef __linux__
11+# include "Python.h"
12+#else
13+# include <Python/Python.h>
14+#endif
15 
16 #include "kerberosbasic.h"
17 #include "kerberosgss.h"