From 3c7dc6eb8b747ee276a1654b66d7be9ee882b043 Mon Sep 17 00:00:00 2001 From: Giacomo Tesio Date: Fri, 27 Dec 2019 17:59:51 +0100 Subject: [PATCH] posix.h: correctly wrap apw/errno.h inclusion (should we invert this dependency?) --- sys/include/posix.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/include/posix.h b/sys/include/posix.h index 0aeac79..ee41284 100644 --- a/sys/include/posix.h +++ b/sys/include/posix.h @@ -1,7 +1,7 @@ /* * This file is part of Jehanne. * - * Copyright (C) 2017-2019 Giacomo Tesio + * Copyright (C) 2017-2020 Giacomo Tesio * * This is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -91,8 +91,9 @@ typedef enum PosixRUsages } PosixRUsages; /* errno values */ -#define _APW_ERRNO_H // skip the Posix part, we just need the enum +#define _APW_ERRNO_H // skip the POSIX part, we just need the enum #include +#undef _APW_ERRNO_H /* signals */ typedef unsigned long PosixSignalMask;