From 1b153a82f462c7726ed6d8b2e4eab1961ebb948f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 4 Mar 2021 16:06:06 +0100 Subject: [PATCH] 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. --- src/shared/install.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/install.h b/src/shared/install.h index 305e4f74b8..948faa0ca7 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"