瀏覽代碼

Improve portablity

JDierkse 5 年之前
父節點
當前提交
56cc5fa02d
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Bluetooth/Functions.cpp

+ 2 - 1
Bluetooth/Functions.cpp

@@ -5,9 +5,10 @@
 #include <bluetooth/bluetooth.h>
 #include <bluetooth/hci.h>
 #include <bluetooth/l2cap.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sstream>
 #include <stdexcept>
+#include <sys/time.h>
 #include <vector>