fix(includedir) Fix ordering if include dirs

There has been a long standind bug where INCLUDE_DIRS /usr/include is
included twice.  The more important problem is it is before the
/usr/local/include.

  This commit fixes the ordering.

Signed-off-by: Manoj Srivastava <srivasta@debian.org>
This commit is contained in:
Manoj Srivastava 2020-06-05 18:52:03 -07:00
parent 98047acd38
commit 13da404446
No known key found for this signature in database
GPG key ID: 36BD720F6F576472

View file

@ -107,11 +107,13 @@ static const char *default_include_directories[] =
This is defined as a placeholder. */
# define INCLUDEDIR "."
#endif
INCLUDEDIR,
#ifndef _AMIGA
"/usr/gnu/include",
"/usr/local/include",
"/usr/include",
INCLUDEDIR,
#else
INCLUDEDIR,
#endif
0
};