VirtualBox

Changeset 57767 in vbox for trunk/src


Ignore:
Timestamp:
Sep 15, 2015 3:38:02 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: Build fix for r102693.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r57765 r57767  
    7373#ifdef Q_WS_X11
    7474# include <dlfcn.h>
     75# include <unistd.h>
    7576# include <X11/Xlib.h>
    7677# if defined(RT_OS_LINUX) && defined(DEBUG)
     
    743744
    744745
    745 # ifdef RT_OS_LINUX
    746     /*
    747      * We have to to make sure that we display the error-message
    748      * after the parent displayed its own message.
    749      */
     746# ifdef Q_WS_X11
     747    /* We have to to make sure that we display the error-message
     748     * after the parent displayed its own message. */
    750749    sleep(2);
    751 # endif
     750# endif /* Q_WS_X11 */
    752751
    753752    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette