posix.h: correctly wrap apw/errno.h inclusion (should we invert this dependency?)
This commit is contained in:
parent
4067cb45cb
commit
3c7dc6eb8b
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Jehanne.
|
* This file is part of Jehanne.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017-2019 Giacomo Tesio <giacomo@tesio.it>
|
* Copyright (C) 2017-2020 Giacomo Tesio <giacomo@tesio.it>
|
||||||
*
|
*
|
||||||
* This is free software: you can redistribute it and/or modify
|
* This is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
|
@ -91,8 +91,9 @@ typedef enum PosixRUsages
|
||||||
} PosixRUsages;
|
} PosixRUsages;
|
||||||
|
|
||||||
/* errno values */
|
/* 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 <apw/errno.h>
|
#include <apw/errno.h>
|
||||||
|
#undef _APW_ERRNO_H
|
||||||
|
|
||||||
/* signals */
|
/* signals */
|
||||||
typedef unsigned long PosixSignalMask;
|
typedef unsigned long PosixSignalMask;
|
||||||
|
|
Loading…
Reference in New Issue