VirtualBox

Changeset 98718 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Feb 24, 2023 11:09:59 AM (2 years ago)
Author:
vboxsync
Message:

Main/VBoxVolInfo: Don't link directly against libdevmapper but use the IPRT runtime loader to get rid of the buildtime dependency, bugref:10367 [make scm happy]

Location:
trunk/src/VBox/Main/src-helper-apps/VBoxVolInfo
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-helper-apps/VBoxVolInfo/VBoxVolInfo.cpp

    r98717 r98718  
    3737#include <unistd.h>
    3838
    39 #include <VBox/err.h>
     39#include <VBox/errcore.h>
    4040
    4141#include "libdevmapper.h"
     42
    4243
    4344/*********************************************************************************************************************************
  • trunk/src/VBox/Main/src-helper-apps/VBoxVolInfo/libdevmapper-calls.h

    r98717 r98718  
    2323 * along with this program; if not, see <https://www.gnu.org/licenses>.
    2424 *
    25  * The contents of this file may alternatively be used under the terms
    26  * of the Common Development and Distribution License Version 1.0
    27  * (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
    28  * in the VirtualBox distribution, in which case the provisions of the
    29  * CDDL are applicable instead of those of the GPL.
    30  *
    31  * You may elect to license modified versions of this file under the
    32  * terms and conditions of either the GPL or the CDDL or both.
    33  *
    34  * SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
     25 * SPDX-License-Identifier: GPL-3.0-only
    3526 */
    3627
  • trunk/src/VBox/Main/src-helper-apps/VBoxVolInfo/libdevmapper.h

    r98717 r98718  
    2323 * along with this program; if not, see <https://www.gnu.org/licenses>.
    2424 *
    25  * The contents of this file may alternatively be used under the terms
    26  * of the Common Development and Distribution License Version 1.0
    27  * (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
    28  * in the VirtualBox distribution, in which case the provisions of the
    29  * CDDL are applicable instead of those of the GPL.
    30  *
    31  * You may elect to license modified versions of this file under the
    32  * terms and conditions of either the GPL or the CDDL or both.
    33  *
    34  * SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
     25 * SPDX-License-Identifier: GPL-3.0-only
    3526 */
    3627
    37 #ifndef VBOX_INCLUDED_libdevmapper_h
    38 #define VBOX_INCLUDED_libdevmapper_h
     28#ifndef MAIN_INCLUDED_SRC_src_helper_apps_VBoxVolInfo_libdevmapper_h
     29#define MAIN_INCLUDED_SRC_src_helper_apps_VBoxVolInfo_libdevmapper_h
    3930#ifndef RT_WITHOUT_PRAGMA_ONCE
    4031# pragma once
     
    10899#undef VBOX_LIBDEVMAPPER_GENERATE_HEADER
    109100
    110 #endif /* !VBOX_INCLUDED_libdevmapper_h */
     101#endif /* !MAIN_INCLUDED_SRC_src_helper_apps_VBoxVolInfo_libdevmapper_h */
    111102
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