From a4f1c7d38c3aaf6064145398503c0b15afed350e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 10 Jun 2025 12:24:19 +0800 Subject: git2d: x.h include guard should be before its own includes --- git2d/x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git2d/x.h b/git2d/x.h index 96ade20..a6da50f 100644 --- a/git2d/x.h +++ b/git2d/x.h @@ -3,6 +3,9 @@ * SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */ +#ifndef X_H +#define X_H + #include #include #include @@ -19,9 +22,6 @@ #include "bare.h" -#ifndef X_H -#define X_H - typedef struct { int fd; } conn_io_t; -- cgit v1.2.3