commit 038b5b12dddbc93e926a6446737f35122838decf from: Christian Weisgerber date: Wed Mar 01 20:58:33 2023 UTC guard MIN() macro against redefinition commit - 3fa763e5f0869e218fa64750c375a84b706c6f92 commit + 038b5b12dddbc93e926a6446737f35122838decf blob - 31cf23be95d9f14059addf8cc73a6b5538c9b774 blob + 9f524a6bfc0deae40498090e43fe7f9238eb4e64 --- lib/patch.c +++ lib/patch.c @@ -55,7 +55,9 @@ #include "got_lib_privsep.h" #include "got_lib_hash.h" +#ifndef MIN #define MIN(a, b) ((a) < (b) ? (a) : (b)) +#endif struct got_patch_hunk { STAILQ_ENTRY(got_patch_hunk) entries;