Commit 16b8e316 authored by ralf@brainbot.com's avatar ralf@brainbot.com

socketmodule.c: fix compilation on ubuntu 10.10

parent 5f9ff4f0
......@@ -4,6 +4,12 @@
/* This code is lifted from Python 2.7 */
#include "Python.h"
/* ubuntu 10.10 has HAVE_BLUETOOTH_* defined, but doesn't have the headers installed */
#ifndef USE_BLUETOOTH
#undef HAVE_BLUETOOTH_H
#undef HAVE_BLUETOOTH_BLUETOOTH_H
#endif
/* XXX This is a terrible mess of platform-dependent preprocessor hacks.
I hope some day someone can clean this up please... */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment