From 3d5caf598e7d101043a8022c69a29562bbe7d403 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 16 Nov 2005 20:56:35 +0000 Subject: [PATCH] Fixed gcc 4 build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14973 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/PrivateScreen.h | 2 -- src/servers/input/InputServer.cpp | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/interface/PrivateScreen.h b/src/kits/interface/PrivateScreen.h index e72b572e9e..6443e37149 100644 --- a/src/kits/interface/PrivateScreen.h +++ b/src/kits/interface/PrivateScreen.h @@ -16,8 +16,6 @@ #include struct color_map; -struct display_mode; -struct display_timing_constraints; class BBitmap; class BApplication; class BWindow; diff --git a/src/servers/input/InputServer.cpp b/src/servers/input/InputServer.cpp index b0a7d7473c..f2c67bb8c9 100644 --- a/src/servers/input/InputServer.cpp +++ b/src/servers/input/InputServer.cpp @@ -36,6 +36,8 @@ #include #endif +using std::nothrow; + #define FAST_MOUSE_MOVED '_FMM' // received from app_server when screen res changed, but could be sent to too.