summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-08-20 12:45:59 +0300
committerTor Lillqvist <tml@iki.fi>2012-08-20 13:04:46 +0300
commitd9b506e9e3ae3834c85a0eaf92128bc12095e62f (patch)
tree1328a9ec6e3b8d54710c302d8881b1310c9b60a1 /sd
parent0198ba86855809d07547de5e96ba4aa48233d81c (diff)
Put a few (GNU/)Linuxisms inside ifdefs
Change-Id: I391edae66298810583c3ac4029cadd182af39ff2
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index 3cd8cbcf2e35..0ff8e43b03e7 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -9,9 +9,11 @@
#include "BluetoothServer.hxx"
#include <stdio.h>
+#ifdef LINUX
#include <gio/gio.h>
-#include <stdint.h>
#include <sys/unistd.h>
+#endif
+#include <stdint.h>
#include <sys/socket.h>
#include <tools/debug.hxx>
#include <tools/stream.hxx>
@@ -172,4 +174,4 @@ void BluetoothServer::setup()
}
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */