Skip to content

Commit

Permalink
Missing headers identified by g++-10
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Feb 11, 2020
1 parent f05f03c commit bf5a219
Show file tree
Hide file tree
Showing 24 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/miral-shell/spinner/miregl.cpp
Expand Up @@ -25,6 +25,7 @@

#include <chrono>
#include <algorithm>
#include <stdexcept>

static void new_global(
void* data,
Expand Down
2 changes: 2 additions & 0 deletions include/platform/mir/graphics/buffer_id.h
Expand Up @@ -21,6 +21,8 @@

#include "mir/int_wrapper.h"

#include <stdint.h>

namespace mir
{
namespace graphics
Expand Down
1 change: 1 addition & 0 deletions src/client/error_buffer.cpp
Expand Up @@ -18,6 +18,7 @@

#include "error_buffer.h"
#include <boost/throw_exception.hpp>
#include <stdexcept>

namespace mcl = mir::client;
namespace geom = mir::geometry;
Expand Down
2 changes: 2 additions & 0 deletions src/client/error_buffer.h
Expand Up @@ -21,6 +21,8 @@

#include "mir/mir_buffer.h"

#include <string>

namespace mir
{
namespace client
Expand Down
2 changes: 2 additions & 0 deletions src/client/error_render_surface.cpp
Expand Up @@ -20,6 +20,8 @@

#include <boost/throw_exception.hpp>

#include <stdexcept>

namespace mcl = mir::client;

mcl::ErrorRenderSurface::ErrorRenderSurface(
Expand Down
2 changes: 2 additions & 0 deletions src/client/error_render_surface.h
Expand Up @@ -21,6 +21,8 @@

#include "mir/mir_render_surface.h"

#include <string>

namespace mir
{
namespace client
Expand Down
2 changes: 2 additions & 0 deletions src/client/error_stream.cpp
Expand Up @@ -20,6 +20,8 @@

#include <boost/throw_exception.hpp>

#include <stdexcept>

namespace mcl = mir::client;

mcl::ErrorStream::ErrorStream(
Expand Down
2 changes: 2 additions & 0 deletions src/client/error_stream.h
Expand Up @@ -21,6 +21,8 @@

#include "mir/mir_buffer_stream.h"

#include <string>

namespace mir
{
namespace client
Expand Down
2 changes: 2 additions & 0 deletions src/common/events/input_event.cpp
Expand Up @@ -22,6 +22,8 @@
#include "mir/events/pointer_event.h"
#include "mir/events/touch_event.h"

#include <stdlib.h>

MirInputEvent::MirInputEvent(MirInputDeviceId dev,
std::chrono::nanoseconds et,
MirInputEventModifiers mods,
Expand Down
2 changes: 2 additions & 0 deletions src/common/events/touch_event.cpp
Expand Up @@ -19,6 +19,8 @@
#include <boost/throw_exception.hpp>
#include "mir/events/touch_event.h"

#include <stdexcept>

MirTouchEvent::MirTouchEvent()
{
event.initInput();
Expand Down
1 change: 1 addition & 0 deletions src/include/common/mir/client_visible_error.h
Expand Up @@ -22,6 +22,7 @@
#include "mir_toolkit/client_types.h"

#include <exception>
#include <stdexcept>

namespace mir
{
Expand Down
2 changes: 2 additions & 0 deletions src/include/cookie/mir/cookie/blob.h
Expand Up @@ -19,6 +19,8 @@
#ifndef MIR_COOKIE_BLOB_H_
#define MIR_COOKIE_BLOB_H_

#include <stddef.h>
#include <stdint.h>
#include <array>

namespace mir
Expand Down
1 change: 1 addition & 0 deletions src/include/server/mir/frontend/connector.h
Expand Up @@ -22,6 +22,7 @@
#include <mir/optional_value.h>
#include <functional>
#include <memory>
#include <string>

namespace mir
{
Expand Down
1 change: 1 addition & 0 deletions src/include/server/mir/frontend/shell.h
Expand Up @@ -26,6 +26,7 @@
#include <sys/types.h>

#include <memory>
#include <string>
#include <vector>

namespace mir
Expand Down
2 changes: 2 additions & 0 deletions src/miral/external_client.cpp
Expand Up @@ -22,6 +22,8 @@

#include <mir/server.h>

#include <stdexcept>

namespace mo = mir::options;

struct miral::ExternalClientLauncher::Self
Expand Down
2 changes: 2 additions & 0 deletions src/platform/udev/udev_wrapper.cpp
Expand Up @@ -21,6 +21,8 @@
#include <cstring>
#include <boost/throw_exception.hpp>

#include <stdexcept>

namespace mu = mir::udev;

/////////////////////
Expand Down
1 change: 1 addition & 0 deletions src/platforms/common/server/kms-utils/drm_mode_resources.h
Expand Up @@ -24,6 +24,7 @@

#include <memory>
#include <functional>
#include <string>
#include <unordered_map>

namespace mir
Expand Down
1 change: 1 addition & 0 deletions src/platforms/common/server/kms-utils/kms_connector.cpp
Expand Up @@ -21,6 +21,7 @@

#include <boost/throw_exception.hpp>
#include <algorithm>
#include <stdexcept>

namespace mgk = mir::graphics::kms;

Expand Down
2 changes: 2 additions & 0 deletions src/platforms/evdev/fd_store.cpp
Expand Up @@ -24,6 +24,8 @@
#include <algorithm>
#include <boost/throw_exception.hpp>

#include <stdexcept>

namespace mie = mir::input::evdev;

void mie::FdStore::store_fd(char const* path, mir::Fd&& fd)
Expand Down
1 change: 1 addition & 0 deletions src/platforms/evdev/fd_store.h
Expand Up @@ -23,6 +23,7 @@
#include <sys/sysmacros.h>

#include "mir/fd.h"
#include <string>

namespace mir
{
Expand Down
1 change: 1 addition & 0 deletions src/server/shell/decoration/window.h
Expand Up @@ -26,6 +26,7 @@

#include <memory>
#include <functional>
#include <string>

namespace mir
{
Expand Down
3 changes: 3 additions & 0 deletions src/server/shell/persistent_surface_store.cpp
Expand Up @@ -20,6 +20,9 @@

#include <boost/throw_exception.hpp>

#include <stdexcept>
#include <string>

namespace msh = mir::shell;
using Id = mir::shell::PersistentSurfaceStore::Id;

Expand Down
1 change: 1 addition & 0 deletions tests/include/mir/test/doubles/stub_buffer.h
Expand Up @@ -29,6 +29,7 @@

#include <boost/throw_exception.hpp>
#include <exception>
#include <stdexcept>

namespace mir
{
Expand Down
2 changes: 2 additions & 0 deletions tests/mir_test_doubles/stub_display_configuration.cpp
Expand Up @@ -21,6 +21,8 @@
#include <limits>
#include <boost/throw_exception.hpp>

#include <stdexcept>

namespace mtd = mir::test::doubles;

mtd::StubDisplayConfigurationOutput::StubDisplayConfigurationOutput(
Expand Down

0 comments on commit bf5a219

Please sign in to comment.