From c69cec404cbc6b1570c42ca03e0cb42b410d7690 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 20 Nov 2015 00:40:45 -0800 Subject: Include-file tweaks for modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * src/dynlib.c, src/emacs-module.c: Include first. * src/dynlib.h: Do not include config.h. It’s every .c file’s responsibility to include config.h first. * src/emacs-module.c: Include emacs-module.h immediately after config.h, to test that emacs-module.h doesn’t depend on include files other than config.h. --- src/dynlib.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dynlib.c') diff --git a/src/dynlib.c b/src/dynlib.c index ed4f157d0fe..1b66c4ad8e8 100644 --- a/src/dynlib.c +++ b/src/dynlib.c @@ -24,6 +24,8 @@ along with GNU Emacs. If not, see . */ If you think the abstraction is too leaky use libltdl (libtool), don't reinvent the wheel by fixing this one. */ +#include + #include "dynlib.h" #if defined _WIN32 -- cgit v1.2.1