From: Lennart Poettering Date: Thu, 4 Mar 2021 15:06:06 +0000 (+0100) Subject: install: include OS headers before our own definition X-Git-Tag: v248-rc3~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b153a82f462c7726ed6d8b2e4eab1961ebb948f;p=thirdparty%2Fsystemd.git install: include OS headers before our own definition Doesn't matter much, but matches more our usual coding style where our definition are done after all headers provided by the OS are included. --- diff --git a/src/shared/install.h b/src/shared/install.h index 305e4f74b8f..948faa0ca7d 100644 --- a/src/shared/install.h +++ b/src/shared/install.h @@ -1,6 +1,8 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once +#include + typedef enum UnitFilePresetMode UnitFilePresetMode; typedef enum UnitFileChangeType UnitFileChangeType; typedef enum UnitFileFlags UnitFileFlags; @@ -9,8 +11,6 @@ typedef struct UnitFileChange UnitFileChange; typedef struct UnitFileList UnitFileList; typedef struct UnitFileInstallInfo UnitFileInstallInfo; -#include - #include "hashmap.h" #include "macro.h" #include "path-lookup.h"