diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-02-13 05:43:42 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-18 18:40:57 -0500 |
commit | 56c65fb8d9c470c3a0a2ea43d353f3e961d0161e (patch) | |
tree | 24d645865910e4a15e7a3803511971b4159dd511 /newlib | |
parent | ac9f8c46b1bc37df1a4209d9bff6e911f7d6b281 (diff) | |
download | newlib-56c65fb8d9c470c3a0a2ea43d353f3e961d0161e.zip newlib-56c65fb8d9c470c3a0a2ea43d353f3e961d0161e.tar.gz newlib-56c65fb8d9c470c3a0a2ea43d353f3e961d0161e.tar.bz2 |
newlib: posix: use local includes for local headers
These headers aren't installed, so use "" includes instead of <> so
we don't search system header paths. This matches the style used
elsewhere in the tree for these local headers, and makes it work
w/out explicit -I flags (as needed with non-recursive make).
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/posix/collate.c | 4 | ||||
-rw-r--r-- | newlib/libc/posix/rune.h | 2 | ||||
-rw-r--r-- | newlib/libc/time/gettzinfo.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/posix/collate.c b/newlib/libc/posix/collate.c index 8bb04ef..a2f62c9 100644 --- a/newlib/libc/posix/collate.c +++ b/newlib/libc/posix/collate.c @@ -28,13 +28,13 @@ #include <sys/cdefs.h> #include "namespace.h" -#include <rune.h> +#include "rune.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <unistd.h> -#include <sysexits.h> +#include "sysexits.h" #include "un-namespace.h" #include "collate.h" diff --git a/newlib/libc/posix/rune.h b/newlib/libc/posix/rune.h index 6966d33..888e6fb 100644 --- a/newlib/libc/posix/rune.h +++ b/newlib/libc/posix/rune.h @@ -36,7 +36,7 @@ #ifndef _RUNE_H_ #define _RUNE_H_ -#include <runetype.h> +#include "runetype.h" #include <stdio.h> #define _PATH_LOCALE "/usr/share/locale" diff --git a/newlib/libc/time/gettzinfo.c b/newlib/libc/time/gettzinfo.c index 54c9bc2..c28e72f 100644 --- a/newlib/libc/time/gettzinfo.c +++ b/newlib/libc/time/gettzinfo.c @@ -1,5 +1,5 @@ #include <sys/types.h> -#include <local.h> +#include "local.h" /* Shared timezone information for libc/time functions. */ static __tzinfo_type tzinfo = {1, 0, |