aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-09-02 00:27:48 +0200
committerRobert Tari <robert@tari.in>2022-09-02 00:27:48 +0200
commitde773702ca0cd0a37eed54fefd6128a63a22bfe9 (patch)
tree0f079bc87c7d04479399f30861da2018d062476b
parentebaf72c156738880752a40fed24372bbf76bd6ee (diff)
downloadayatana-indicator-power-de773702ca0cd0a37eed54fefd6128a63a22bfe9.tar.gz
ayatana-indicator-power-de773702ca0cd0a37eed54fefd6128a63a22bfe9.tar.bz2
ayatana-indicator-power-de773702ca0cd0a37eed54fefd6128a63a22bfe9.zip
tests/test-device.cc: Add missing header
-rw-r--r--tests/test-device.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-device.cc b/tests/test-device.cc
index 1776c3e..474fa36 100644
--- a/tests/test-device.cc
+++ b/tests/test-device.cc
@@ -1,5 +1,6 @@
/*
* Copyright 2012-2016 Canonical Ltd.
+ * Copyright 2022 Robert Tari
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -15,6 +16,7 @@
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
#include "device.h"
@@ -22,7 +24,7 @@
#include <gio/gio.h>
#include <gtest/gtest.h>
-
+#include <array>
#include <algorithm>
#include <cmath> // ceil()
#include <string>