It turns out to deal with #1785, we will need to include internal headers this
way as well as external headers.
2ecb837a05be3d69971001708e7acccfd470ad97 should
have gone in this direction to begin with.
* p is updated to point to the next character in s
*/
-#include "ast.h"
+#include <ast/ast.h>
int chresc(const char *s, char **p)
{
* convert a 0 terminated character constant string to an int
*/
-#include "ast.h"
+#include <ast/ast.h>
int chrtoi(const char *s)
{
#endif
#endif
-#include "ast.h"
-#include "error.h"
+#include <ast/ast.h>
+#include <ast/error.h>
#include <string.h>
#include <errno.h>
*************************************************************************/
-#include "ast.h"
+#include <ast/ast.h>
/*
* return small format buffer chunk of size n
* return string with expanded escape chars
*/
-#include "ast.h"
+#include <ast/ast.h>
#include <string.h>
#include <ctype.h>
* path returned in path buffer
*/
-#include "ast.h"
+#include <ast/ast.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#else
* return current PATH
*/
-#include "ast.h"
+#include <ast/ast.h>
char *pathbin(void)
{
* will contain the components following the failure point
*/
-#include "ast.h"
+#include <ast/ast.h>
#include <errno.h>
-#include "error.h"
+#include <ast/error.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
* single dir support for pathaccess()
*/
-#include "ast.h"
+#include <ast/ast.h>
char *pathcat(char *path, const char *dirs, int sep,
const char *a, const char *b)
* in half by checking ENOTDIR vs. ENOENT
*/
-#include "ast.h"
-#include "error.h"
+#include <ast/ast.h>
+#include <ast/error.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
*/
#include "config.h"
-#include "ast.h"
+#include <ast/ast.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#else
* if path==0 then the space is malloc'd
*/
-#include "ast.h"
+#include <ast/ast.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
*************************************************************************/
-#include "ast.h"
+#include <ast/ast.h>
/*
* copy t into s, return a pointer to the end of s ('\0')
* the length of the converted s is returned (may have imbedded \0's)
*/
-#include "ast.h"
+#include <ast/ast.h>
int stresc(char *s)
{
* element size
*/
-#include "ast.h"
+#include <ast/ast.h>
#include <ctype.h>
-#include "hashkey.h"
+#include <ast/hashkey.h>
#include <string.h>
#if _hdr_wchar && _lib_wctype && _lib_iswctype
#endif
#if _DEBUG_MATCH
-#include "error.h"
+#include <ast/error.h>
#endif
#define MAXGROUP 10