summaryrefslogtreecommitdiff
path: root/lib-src/ebrowse.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-03-08 18:46:47 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2022-03-08 18:51:17 -0800
commitec35e2621a945797cc4978ebf2e0fe0b0f436705 (patch)
treec303c24d6f967f8c647f4724337a5c1103625a63 /lib-src/ebrowse.c
parentf7032bdafe742c588c1b8b5054e2f383a41fff54 (diff)
downloademacs-ec35e2621a945797cc4978ebf2e0fe0b0f436705.tar.gz
emacs-ec35e2621a945797cc4978ebf2e0fe0b0f436705.tar.bz2
emacs-ec35e2621a945797cc4978ebf2e0fe0b0f436705.zip
Do not include <attribute.h> from <config.h>
This is because mod-test.c shouldn’t use source code from lib, but it does need to include <config.h>. * lib-src/ebrowse.c, lib-src/emacsclient.c, lib-src/etags.c: * lib-src/make-docfile.c, lib-src/movemail.c: * lib-src/seccomp-filter.c, src/dynlib.h, src/lisp.h: * src/syssignal.h, src/sysstdio.h, src/systhread.h, src/tparam.h: Include <attribute.h>. * src/conf_post.h: Do not include <attribute.h>. All uses of attribute.h macros replaced with their _GL_ equivalents.
Diffstat (limited to 'lib-src/ebrowse.c')
-rw-r--r--lib-src/ebrowse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c
index ac7e7901878..b77572734fe 100644
--- a/lib-src/ebrowse.c
+++ b/lib-src/ebrowse.c
@@ -26,6 +26,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <assert.h>
#include <getopt.h>
+#include <attribute.h>
#include <flexmember.h>
#include <min-max.h>
#include <unlocked-io.h>