fix(*): fix 18.04 complie warning.

This commit is contained in:
TinyO
2019-10-17 13:48:37 +08:00
parent 427c473fc8
commit 9e8c759f0d
3 changed files with 19 additions and 2 deletions

View File

@@ -15,6 +15,11 @@
#define MYNTEYE_DEVICE_DEVICE_H_
#pragma once
#include <sys/types.h>
// undef major & minor for 18.04 gcc
#undef major
#undef minor
#include <map>
#include <memory>
#include <mutex>