VirtualBox

Changeset 76379 in vbox for trunk/include


Ignore:
Timestamp:
Dec 22, 2018 10:48:10 PM (6 years ago)
Author:
vboxsync
Message:

VBox/GuestHost/DragAndDrop.h: Don't include err.h, dir.h and file.h when all you need is fs.h for RTFSOBJINFO. Also address some misconception in Guest/DragAndDrop of how we use LOG_GROUP (it goes first, before all the headers (and you don't need #ifndef before #undef)). Generally, include the module header first and then all the stuff the implementation needs afterwards. bugref:9344

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/DragAndDrop.h

    r74715 r76379  
    11/* $Id$ */
    22/** @file
    3  * DnD: Shared functions between host and guest.
     3 * DnD - Shared functions between host and guest.
    44 */
    55
     
    2929
    3030#include <iprt/assert.h>
    31 #include <iprt/cdefs.h>
    32 #include <iprt/dir.h>
    33 #include <iprt/err.h>
    34 #include <iprt/file.h>
    35 #include <iprt/types.h>
     31#include <iprt/fs.h>
    3632
    3733#include <iprt/cpp/list.h>
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