      *)		BEOS=no; AC_MSG_RESULT(no);;
  esac
  
+@@ -1009,7 +1011,7 @@
+ if test "$enable_netbeans" = "yes"; then
+   AC_MSG_RESULT(no)
+   dnl On Solaris we need the socket and nsl library.
+-  AC_CHECK_LIB(socket, socket)
++  AC_CHECK_LIB(network, socket)
+   AC_CHECK_LIB(nsl, gethostbyname)
+   AC_MSG_CHECKING(whether compiling netbeans integration is possible)
+   AC_TRY_LINK([
 @@ -1196,11 +1198,11 @@
    fi
  fi

 objects/os_qnx.o: os_qnx.c
 	$(CCC) -o $@ os_qnx.c
 
@@ -2645,6 +2665,59 @@
 
 
 ###############################################################################

+	static void SendRefs(BMessage *m, bool changedir);
+
+	sem_id		fFilePanelSem;
+	BFilePanel*	fFilePanel;
+	BPath		fBrowsedPath;
+	private:
+};
