Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-13 13:43:42 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-19 02:40:57 +0300
commit56c65fb8d9c470c3a0a2ea43d353f3e961d0161e (patch)
tree24d645865910e4a15e7a3803511971b4159dd511 /newlib/libc/posix
parentac9f8c46b1bc37df1a4209d9bff6e911f7d6b281 (diff)
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/libc/posix')
-rw-r--r--newlib/libc/posix/collate.c4
-rw-r--r--newlib/libc/posix/rune.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/posix/collate.c b/newlib/libc/posix/collate.c
index 8bb04ef0d..a2f62c978 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 6966d3375..888e6fb04 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"