summaryrefslogtreecommitdiff
path: root/kms++
diff options
context:
space:
mode:
Diffstat (limited to 'kms++')
-rw-r--r--kms++/src/connector.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kms++/src/connector.cpp b/kms++/src/connector.cpp
index 48c5815..9141431 100644
--- a/kms++/src/connector.cpp
+++ b/kms++/src/connector.cpp
@@ -13,6 +13,9 @@ using namespace std;
namespace kms
{
+#ifndef DRM_MODE_CONNECTOR_DPI
+#define DRM_MODE_CONNECTOR_DPI 17
+#endif
static const map<int, string> connector_names = {
{ DRM_MODE_CONNECTOR_Unknown, "Unknown" },
@@ -32,6 +35,7 @@ static const map<int, string> connector_names = {
{ DRM_MODE_CONNECTOR_eDP, "eDP" },
{ DRM_MODE_CONNECTOR_VIRTUAL, "Virtual" },
{ DRM_MODE_CONNECTOR_DSI, "DSI" },
+ { DRM_MODE_CONNECTOR_DPI, "DPI" },
};
static const map<int, string> connection_str = {