diff --git a/examples/osgviewerGTK/osgviewerGTK.cpp b/examples/osgviewerGTK/osgviewerGTK.cpp index 03f5999f5..8c77071d5 100644 --- a/examples/osgviewerGTK/osgviewerGTK.cpp +++ b/examples/osgviewerGTK/osgviewerGTK.cpp @@ -1,3 +1,5 @@ +#include + #include #include #include @@ -50,9 +52,9 @@ class ExampleOSGGTKDrawingArea : public OSGGTKDrawingArea { GTK_LABEL(gtk_bin_get_child(GTK_BIN(widget))) ); - if(not std::strncmp(text, "Close", 5)) gtk_main_quit(); + if(not strncmp(text, "Close", 5)) gtk_main_quit(); - else if(not std::strncmp(text, "Open File", 9)) { + else if(not strncmp(text, "Open File", 9)) { GtkWidget* of = gtk_file_chooser_dialog_new( "Please select an OSG file...", GTK_WINDOW(gtk_widget_get_toplevel(getWidget())),