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.