]> Savannah Git Hosting - gnulib.git/commitdiff
include_next: pacify clang -Winclude-next-absolute-path
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 28 Dec 2023 20:25:16 +0000 (12:25 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 28 Dec 2023 20:29:08 +0000 (12:29 -0800)
Without this change, Ubuntu clang version 16.0.6 (15) issues
warnings like this: “In file included from xalloc-die.c:25:
./error.h:28:3: warning: #include_next in file found relative to
primary source file or found by absolute path; will search from
start of include path [-Winclude-next-absolute-path]”.
And sure enough, each file includes itself rather than the
next include file and it’s only the subsidiary include that
gets around to including the next include file.
* lib/argmatch.c, lib/chdir-long.c, lib/clean-temp-simple.c:
* lib/clean-temp.c, lib/closein.c, lib/closeout.c, lib/copy-acl.c:
* lib/copy-file.c, lib/creat.c, lib/csharpcomp.c:
* lib/csharpexec.c, lib/error.c, lib/exclude.c, lib/execute.c:
* lib/faccessat.c, lib/fopen.c, lib/freopen.c, lib/getopt.c:
* lib/getopt1.c, lib/git-merge-changelog.c, lib/javacomp.c:
* lib/javaexec.c, lib/javaversion.c, lib/mkdir-p.c, lib/open.c:
* lib/openat-die.c, lib/openat.c, lib/os2-spawn.c:
* lib/pagealign_alloc.c, lib/pipe-filter-gi.c:
* lib/pipe-filter-ii.c, lib/same.c, lib/set-acl.c:
* lib/sigpipe-die.c, lib/spawn-pipe.c, lib/sys_socket.c, lib/truncate.c:
* lib/unistd.c, lib/verror.c, lib/wait-process.c, lib/wctype-h.c:
* lib/xalloc-die.c, lib/xfreopen.c, lib/xmemcoll.c, lib/xprintf.c:
* lib/xsetenv.c, lib/xstdopen.c, lib/xstrtol-error.c:
Use ‘#include <foo.h>’ instead of ‘#include "foo.h"’ if foo.h
possibly uses #include_next.  (However, don’t do this on OSF/1
which has its own problems.)

49 files changed:
ChangeLog
lib/argmatch.c
lib/chdir-long.c
lib/clean-temp-simple.c
lib/clean-temp.c
lib/closein.c
lib/closeout.c
lib/copy-acl.c
lib/copy-file.c
lib/creat.c
lib/csharpcomp.c
lib/csharpexec.c
lib/error.c
lib/exclude.c
lib/execute.c
lib/faccessat.c
lib/fopen.c
lib/freopen.c
lib/getopt.c
lib/getopt1.c
lib/git-merge-changelog.c
lib/javacomp.c
lib/javaexec.c
lib/javaversion.c
lib/mkdir-p.c
lib/open.c
lib/openat-die.c
lib/openat.c
lib/os2-spawn.c
lib/pagealign_alloc.c
lib/pipe-filter-gi.c
lib/pipe-filter-ii.c
lib/same.c
lib/set-acl.c
lib/sigpipe-die.c
lib/spawn-pipe.c
lib/sys_socket.c
lib/truncate.c
lib/unistd.c
lib/verror.c
lib/wait-process.c
lib/wctype-h.c
lib/xalloc-die.c
lib/xfreopen.c
lib/xmemcoll.c
lib/xprintf.c
lib/xsetenv.c
lib/xstdopen.c
lib/xstrtol-error.c

index 746a1ea70fe910edc383f834dfaced0c262bd02b..d07835db5ba685e6836d564f953d23c4822bd561 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,32 @@
 2023-12-28  Paul Eggert  <eggert@cs.ucla.edu>
 
+       include_next: pacify clang -Winclude-next-absolute-path
+       Without this change, Ubuntu clang version 16.0.6 (15) issues
+       warnings like this: “In file included from xalloc-die.c:25:
+       ./error.h:28:3: warning: #include_next in file found relative to
+       primary source file or found by absolute path; will search from
+       start of include path [-Winclude-next-absolute-path]”.
+       And sure enough, each file includes itself rather than the
+       next include file and it’s only the subsidiary include that
+       gets around to including the next include file.
+       * lib/argmatch.c, lib/chdir-long.c, lib/clean-temp-simple.c:
+       * lib/clean-temp.c, lib/closein.c, lib/closeout.c, lib/copy-acl.c:
+       * lib/copy-file.c, lib/creat.c, lib/csharpcomp.c:
+       * lib/csharpexec.c, lib/error.c, lib/exclude.c, lib/execute.c:
+       * lib/faccessat.c, lib/fopen.c, lib/freopen.c, lib/getopt.c:
+       * lib/getopt1.c, lib/git-merge-changelog.c, lib/javacomp.c:
+       * lib/javaexec.c, lib/javaversion.c, lib/mkdir-p.c, lib/open.c:
+       * lib/openat-die.c, lib/openat.c, lib/os2-spawn.c:
+       * lib/pagealign_alloc.c, lib/pipe-filter-gi.c:
+       * lib/pipe-filter-ii.c, lib/same.c, lib/set-acl.c:
+       * lib/sigpipe-die.c, lib/spawn-pipe.c, lib/sys_socket.c, lib/truncate.c:
+       * lib/unistd.c, lib/verror.c, lib/wait-process.c, lib/wctype-h.c:
+       * lib/xalloc-die.c, lib/xfreopen.c, lib/xmemcoll.c, lib/xprintf.c:
+       * lib/xsetenv.c, lib/xstdopen.c, lib/xstrtol-error.c:
+       Use ‘#include <foo.h>’ instead of ‘#include "foo.h"’ if foo.h
+       possibly uses #include_next.  (However, don’t do this on OSF/1
+       which has its own problems.)
+
        stat-time: fix macOS bug with negative file times
        macOS has a bug similar (but not identical) to Solaris when
        file timestamps are negative: tv_nsec might go negative.
index 9cddb37d69c9d3210bf5a72f75916e68b7c96a68..ad2b269055ae95e05e2f0287502d4eb1fee322a6 100644 (file)
@@ -30,7 +30,7 @@
 
 #define _(msgid) gettext (msgid)
 
-#include "error.h"
+#include <error.h>
 #include "quotearg.h"
 
 #if USE_UNLOCKED_IO
index 8a25538b3f8a01201f7e9d4413a136cedf80a3d4..de5aaee74fe6219561b6275acab430445f4ef8a2 100644 (file)
@@ -209,7 +209,7 @@ chdir_long (char *dir)
 #if TEST_CHDIR
 
 # include "closeout.h"
-# include "error.h"
+# include <error.h>
 
 int
 main (int argc, char *argv[])
index 66eeb1ea69a08458758817a0084ce0c30c7079ba..9e9beb829d7601564a963827d98dd2a3a9ba7309 100644 (file)
@@ -28,7 +28,7 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "error.h"
+#include <error.h>
 #include "fatal-signal.h"
 #include "asyncsafe-spin.h"
 #include "glthread/lock.h"
index de16292b36ca49f3d948885ee017fde0ea342934..ec7fb4b3196ba91f4e991275ea64f1acc27cb47e 100644 (file)
@@ -36,7 +36,7 @@
 
 #include "clean-temp-simple.h"
 #include "clean-temp-private.h"
-#include "error.h"
+#include <error.h>
 #include "fatal-signal.h"
 #include "asyncsafe-spin.h"
 #include "pathmax.h"
index d26de8d078301f759665f6336d5a557791284a02..930169a1d6c9ad2fed0ee5e43515c6fa7f0a6fd4 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "close-stream.h"
 #include "closeout.h"
-#include "error.h"
+#include <error.h>
 #include "exitfail.h"
 #include "freadahead.h"
 #include "quotearg.h"
index d9e82113032ae963418dc7014866f3d964f1e075..813869a3acc50a86b75703fca00cbc0ca8953a48 100644 (file)
@@ -28,7 +28,7 @@
 #define _(msgid) gettext (msgid)
 
 #include "close-stream.h"
-#include "error.h"
+#include <error.h>
 #include "exitfail.h"
 #include "quotearg.h"
 
index 3606a5017d96eccdd6bb470364b81e6a3b72f667..d7beececb67059824ac7905c0761dacb40b78500 100644 (file)
@@ -24,7 +24,7 @@
 #include <errno.h>
 
 #include "quote.h"
-#include "error.h"
+#include <error.h>
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
 
index 78da3996bb94af70397a69e3fd93120c530ada91..4132f69dffbde565cc6d32945463f952ccfe22e2 100644 (file)
@@ -28,7 +28,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
-#include "error.h"
+#include <error.h>
 #include "ignore-value.h"
 #include "safe-read.h"
 #include "full-write.h"
index dad7b2da45d0a173a6312187637a35018ff3b262..49b7a453a4ef5a591a3b00fabbe6a1027d9b8f31 100644 (file)
@@ -36,9 +36,13 @@ orig_creat (const char *filename, mode_t mode)
 }
 
 /* Specification.  */
+#ifdef __osf__
 /* Write "fcntl.h" here, not <fcntl.h>, otherwise OSF/1 5.1 DTK cc eliminates
    this include because of the preliminary #include <fcntl.h> above.  */
-#include "fcntl.h"
+# include "fcntl.h"
+#else
+# include <fcntl.h>
+#endif
 
 #include <errno.h>
 #include <string.h>
index 03b7da1f7b816edf76ca793b135876a518b7f694..89f7a7c10dee93a04804e53f548b46ff87ad4a9a 100644 (file)
@@ -32,7 +32,7 @@
 #include "sh-quote.h"
 #include "safe-read.h"
 #include "xmalloca.h"
-#include "error.h"
+#include <error.h>
 #include "gettext.h"
 
 #define _(str) gettext (str)
index 2e30198c29a85bb5259a86e1b45a5bfa5dff537b..bf85ab849eda1451dbe9bc8c1be587cd22dc96f4 100644 (file)
@@ -27,7 +27,7 @@
 #include "execute.h"
 #include "sh-quote.h"
 #include "xmalloca.h"
-#include "error.h"
+#include <error.h>
 #include "gettext.h"
 
 /* Handling of MONO_PATH is just like Java CLASSPATH.  */
index 9e26391e98ad190ed18b7be54338f37b4a691c82..72f248f1573fd6b934959cfdc3edfba1d04c9447 100644 (file)
@@ -22,7 +22,7 @@
 # define _GL_NO_INLINE_ERROR
 #endif
 
-#include "error.h"
+#include <error.h>
 
 #include <stdarg.h>
 #include <stdio.h>
index a3479db8a637db2671d934b0d61eb7fc85fbf782..43456a3fd570c3b397a0ed113eda892cb5d7a548 100644 (file)
@@ -34,7 +34,7 @@
 
 #include "exclude.h"
 #include "filename.h"
-#include "fnmatch.h"
+#include <fnmatch.h>
 #include "hash.h"
 #if GNULIB_MCEL_PREFER
 # include "mcel.h"
index b2164f16888560019a66ce767a7f2eaa4dd563d5..33d98a417542c47c0b2c1d0d6ae92910d3a7261f 100644 (file)
@@ -31,7 +31,7 @@
 #include <sys/wait.h>
 
 #include "canonicalize.h"
-#include "error.h"
+#include <error.h>
 #include "fatal-signal.h"
 #include "filename.h"
 #include "findprog.h"
index ac8977cfd65f3dd9db3459c5bd604bd8a1f77d5b..ee838068449baee5b2ad33f3abde9fa535c08721 100644 (file)
@@ -40,10 +40,14 @@ orig_faccessat (int fd, char const *name, int mode, int flag)
 }
 #endif
 
+#ifdef __osf__
 /* Write "unistd.h" here, not <unistd.h>, otherwise OSF/1 5.1 DTK cc
    eliminates this include because of the preliminary #include <unistd.h>
    above.  */
-#include "unistd.h"
+# include "unistd.h"
+#else
+# include <unistd.h>
+#endif
 
 #ifndef HAVE_ACCESS
 /* Mingw lacks access, but it also lacks real vs. effective ids, so
index e1e4cdbd2351e73f56f6dd02149eb066aa6b228e..9cb6176fb0d885b0a8cd06777ac9c5e2cb73e4c0 100644 (file)
@@ -33,9 +33,13 @@ orig_fopen (const char *filename, const char *mode)
 }
 
 /* Specification.  */
+#ifdef __osf__
 /* Write "stdio.h" here, not <stdio.h>, otherwise OSF/1 5.1 DTK cc eliminates
    this include because of the preliminary #include <stdio.h> above.  */
-#include "stdio.h"
+# include "stdio.h"
+#else
+# include <stdio.h>
+#endif
 
 #include <errno.h>
 #include <fcntl.h>
index 646aa7c817e8b2bb0a479c93f59a4b8e8783f21a..52332b74d649f0095bdedb95a783b507997f069f 100644 (file)
@@ -35,9 +35,13 @@ orig_freopen (const char *filename, const char *mode, FILE *stream)
 }
 
 /* Specification.  */
+#ifdef __osf__
 /* Write "stdio.h" here, not <stdio.h>, otherwise OSF/1 5.1 DTK cc eliminates
    this include because of the preliminary #include <stdio.h> above.  */
-#include "stdio.h"
+# include "stdio.h"
+#else
+# include <stdio.h>
+#endif
 
 #include <fcntl.h>
 #include <string.h>
index a2a291d6973e8676d90de30e3a76ff3b345a1c38..43dd5dad612886e388fa76ed34690671c635faec 100644 (file)
@@ -21,7 +21,7 @@
 # include <config.h>
 #endif
 
-#include "getopt.h"
+#include <getopt.h>
 
 #include <stdio.h>
 #include <stdlib.h>
index 49323aa8ed13654772356ecf728c78c2528c8ce9..587daa2a6f9df538de73b62cb7bc0435958f152f 100644 (file)
@@ -21,7 +21,7 @@
 # include <config.h>
 #endif
 
-#include "getopt.h"
+#include <getopt.h>
 #include "getopt_int.h"
 
 int
index 2ef745ec9dcec38d3a80e5613cffb9cd504dfd45..c701d299420130019d89c366deddbb1cc616d25d 100644 (file)
 #include <sys/types.h>
 #include <unistd.h>
 
-#include "error.h"
+#include <error.h>
 #include "idx.h"
 #include "read-file.h"
 #include "gl_xlist.h"
index b4bf298d29248f63ea4142c9ec17b7507384472f..e55b18e2e80a1df8cc86200ab0128a50842ce5ca 100644 (file)
@@ -44,7 +44,7 @@
 #include "concat-filename.h"
 #include "fwriteerror.h"
 #include "clean-temp.h"
-#include "error.h"
+#include <error.h>
 #include "xvasprintf.h"
 #include "verify.h"
 #include "c-strstr.h"
index 6f4af37485a89859bb0d2a1406084cd1254dad0a..20d0068fe9dcfa6c25eb3f68c7d88087b6180b6f 100644 (file)
@@ -32,7 +32,7 @@
 #include "concat-filename.h"
 #include "xalloc.h"
 #include "xmalloca.h"
-#include "error.h"
+#include <error.h>
 #include "gettext.h"
 
 #define _(str) gettext (str)
index aef1be30771463e02f710740fbd3be1444d0f681..9c1225e7c7faf1ac4deae56c103015ee3037a6df 100644 (file)
@@ -34,7 +34,7 @@
 #include "javaexec.h"
 #include "spawn-pipe.h"
 #include "wait-process.h"
-#include "error.h"
+#include <error.h>
 #include "gettext.h"
 
 #define _(str) gettext (str)
index 67e9050ad6aade608cbc7c08d306294babbe7283..2cb0bc9bc1bc7136928bb04eee9ea5313bc14250 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "dirchownmod.h"
 #include "dirname.h"
-#include "error.h"
+#include <error.h>
 #include "quote.h"
 #include "mkancesdirs.h"
 #include "savewd.h"
index 7ec8fdc35dcdd5bebee29ada9a2b19cb031fef6a..d9af5a2a3518763433991b6db8ab455f35497dc8 100644 (file)
@@ -38,9 +38,13 @@ orig_open (const char *filename, int flags, mode_t mode)
 }
 
 /* Specification.  */
+#ifdef __osf__
 /* Write "fcntl.h" here, not <fcntl.h>, otherwise OSF/1 5.1 DTK cc eliminates
    this include because of the preliminary #include <fcntl.h> above.  */
-#include "fcntl.h"
+# include "fcntl.h"
+#else
+# include <fcntl.h>
+#endif
 
 #include "cloexec.h"
 
index df3dbc9b66ce0ed2cc92d3249254a4b56ae3154c..84bc5437062957669358a2d5080e8a5c3750b6e0 100644 (file)
@@ -22,7 +22,7 @@
 #include <stdlib.h>
 
 #ifndef GNULIB_LIBPOSIX
-# include "error.h"
+# include <error.h>
 #endif
 
 #include "exitfail.h"
index f28b10e138d4ac8d595a235f181f2d6d6d09e62b..160a02e5d53ca962e465d35a66612018d7beef5f 100644 (file)
@@ -35,9 +35,13 @@ orig_openat (int fd, char const *filename, int flags, mode_t mode)
 }
 #endif
 
+#ifdef __osf__
 /* Write "fcntl.h" here, not <fcntl.h>, otherwise OSF/1 5.1 DTK cc eliminates
    this include because of the preliminary #include <fcntl.h> above.  */
-#include "fcntl.h"
+# include "fcntl.h"
+#else
+# include <fcntl.h>
+#endif
 
 #include "openat.h"
 
index c47f33afc34cc126e076af5c3ef1f9f198ce1f02..305226288cae3e65a0dc824a54d3671be190b0f2 100644 (file)
@@ -29,7 +29,7 @@
 #include <errno.h>
 
 #include "cloexec.h"
-#include "error.h"
+#include <error.h>
 #include "gettext.h"
 
 #define _(str) gettext (str)
index fa74c09fd4aa4066b2a3dcd3076be983a622e251..73ebd9d74a83d201ddc15f3ae44a1f5c038292d6 100644 (file)
@@ -31,7 +31,7 @@
 # include <sys/mman.h>
 #endif
 
-#include "error.h"
+#include <error.h>
 #include "xalloc.h"
 #include "gettext.h"
 
index 5b04bf7c7d09482d124a27861121b06049f1a197..94b562286a1c0c830fcd03230ef3ff0f207748d9 100644 (file)
@@ -33,7 +33,7 @@
 # include <sys/select.h>
 #endif
 
-#include "error.h"
+#include <error.h>
 #include "spawn-pipe.h"
 #include "wait-process.h"
 #include "xalloc.h"
index 1730e8175bf65cfeebaf33b59221b2c66c9ab204..abc76c284c632b451967e8c361d5634c74cdb883 100644 (file)
@@ -153,7 +153,7 @@ WaitForMultipleObjects (DWORD nCount, const HANDLE *pHandles, BOOL bWaitAll,
 # include <sys/select.h>
 #endif
 
-#include "error.h"
+#include <error.h>
 #include "spawn-pipe.h"
 #include "wait-process.h"
 #include "gettext.h"
index 82a5cc3cff408cbe98b5501b86bba1ade210537f..c6426087f9dc69159fdda3a0bbeff349c647d10b 100644 (file)
@@ -37,7 +37,7 @@
 
 #include "same.h"
 #include "dirname.h"
-#include "error.h"
+#include <error.h>
 #include "same-inode.h"
 
 #ifndef MIN
index fac5665df2f3d829f5be899999201f910e693313..19bc4aaf31150eb1c9681fcd7cc7026ff338f6cd 100644 (file)
@@ -24,7 +24,7 @@
 #include <errno.h>
 
 #include "quote.h"
-#include "error.h"
+#include <error.h>
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
 
index 3202eac4cd4cf8dc97208c6cc28990e21c98249f..b2d7ab71f3af34a0b3988bd9633e6efb08e5d64b 100644 (file)
@@ -24,7 +24,7 @@
 #include <signal.h>
 #include <stdlib.h>
 
-#include "error.h"
+#include <error.h>
 #include "exitfail.h"
 
 #include "gettext.h"
index d2d21e6e8ecca1877cab51be26701303c104532d..42d713817e008eca32e25a0a2dfe9b01bb6280ed 100644 (file)
@@ -33,7 +33,7 @@
 #include <unistd.h>
 
 #include "canonicalize.h"
-#include "error.h"
+#include <error.h>
 #include "fatal-signal.h"
 #include "filename.h"
 #include "findprog.h"
index b7388ceccf98c80d4632a20c8010d4409c634dd5..a4e845957fdc93a67e2a4195ac465313ed362415 100644 (file)
@@ -18,5 +18,5 @@
 #include <config.h>
 
 #define _GL_SYS_SOCKET_INLINE _GL_EXTERN_INLINE
-#include "sys/socket.h"
+#include <sys/socket.h>
 typedef int dummy;
index 0541e346d3b7ea30aecf8baf12a135e4482b007f..a04bff3fd5c88abff86e47410e77b20eb4c2feac 100644 (file)
@@ -37,10 +37,14 @@ orig_truncate (const char *filename, off_t length)
 }
 #endif
 
+#ifdef __osf__
 /* Write "unistd.h" here, not <unistd.h>, otherwise OSF/1 5.1 DTK cc
    eliminates this include because of the preliminary #include <unistd.h>
    above.  */
-#include "unistd.h"
+# include "unistd.h"
+#else
+# include <unistd.h>
+#endif
 
 int
 truncate (const char *filename, off_t length)
index be7a82550339b15603bf60acb3ce790ba01cb2f4..98bdb4e265db481be76e9ec52aab7b59e6c86e2b 100644 (file)
@@ -18,5 +18,5 @@
 #include <config.h>
 
 #define _GL_UNISTD_INLINE _GL_EXTERN_INLINE
-#include "unistd.h"
+#include <unistd.h>
 typedef int dummy;
index 46bb230443734401ddea7d35478be9d4c078278b..acaa6e0a4080dbb8d279cdbd183738d756ad67c7 100644 (file)
@@ -25,7 +25,7 @@
 #include <stdarg.h>
 #include <stdlib.h>
 
-#include "error.h"
+#include <error.h>
 #include "xvasprintf.h"
 
 #if ENABLE_NLS
index 3e95b4efb5328b1f398b42f29f907395af7099ee..012c52ae6c1a5d77f80ff45e142d46e6fb361723 100644 (file)
@@ -29,7 +29,7 @@
 #include <sys/types.h>
 #include <sys/wait.h>
 
-#include "error.h"
+#include <error.h>
 #include "fatal-signal.h"
 #include "xalloc.h"
 #include "gettext.h"
index 7d3e14a6b5f2183c8163915deb7aa5f65150d815..c8f1eb4905d6d9a562bd4ae6dc200b211d18edd3 100644 (file)
@@ -20,4 +20,4 @@
 #include <config.h>
 
 #define _GL_WCTYPE_INLINE _GL_EXTERN_INLINE
-#include "wctype.h"
+#include <wctype.h>
index 7605eee151ec656e716fea5dc38d4214e8492090..d4461c793ddc75bf43c100259e89ab78801c6fd1 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdlib.h>
 
-#include "error.h"
+#include <error.h>
 #include "exitfail.h"
 
 #include "gettext.h"
index e776ff70c192e0b44668d4604492982c341f779d..5620d214b6a6f406956154e0b440b2f12e255f01 100644 (file)
@@ -18,7 +18,7 @@
 #include "xfreopen.h"
 
 #include <errno.h>
-#include "error.h"
+#include <error.h>
 #include "exitfail.h"
 #include "quote.h"
 
index 5a15d2b221520d4cfdec97d843ac5d54f3105a91..02bf66b60ffc11e75389a1384a3f18ee5fb1526e 100644 (file)
@@ -25,7 +25,7 @@
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
 
-#include "error.h"
+#include <error.h>
 #include "exitfail.h"
 #include "memcoll.h"
 #include "quotearg.h"
index fbdd96cce4901a259b24e317a75d002752da5285..ef4a6199604b557a25c6195c060464d48c2c1a91 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <errno.h>
 
-#include "error.h"
+#include <error.h>
 #include "exitfail.h"
 #include "gettext.h"
 
index 2763997df6670ba7d7715798014c4e99a130cd39..b01f2945e86555a7e9b9890a2fb93a0941d60df9 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <stdlib.h>
 
-#include "error.h"
+#include <error.h>
 #include "gettext.h"
 
 #define _(str) gettext (str)
index 76d47815286ca523bd5bc3a6a9629fe8c8439048..0cf4053ac153d936717df8858854247303c75506 100644 (file)
@@ -20,7 +20,7 @@
 #include "xstdopen.h"
 
 #include "stdopen.h"
-#include "error.h"
+#include <error.h>
 #include "exitfail.h"
 
 #include "gettext.h"
index 7749e0213738fe780749a69e9459121519f25214..5100542236736db59ff2f1ab6ab4346c90627f15 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <stdlib.h>
 
-#include "error.h"
+#include <error.h>
 #include "exitfail.h"
 #include "gettext.h"