aboutsummaryrefslogtreecommitdiffstats
path: root/src/dynlib.c
diff options
context:
space:
mode:
authorPaul Eggert2015-11-20 00:40:45 -0800
committerPaul Eggert2015-11-20 00:41:21 -0800
commitc69cec404cbc6b1570c42ca03e0cb42b410d7690 (patch)
tree633f48cac6436a0f9c37168eb714d36719b71dfd /src/dynlib.c
parentaa7dac899804727875cdb8fe267d37adcbe9705a (diff)
downloademacs-c69cec404cbc6b1570c42ca03e0cb42b410d7690.tar.gz
emacs-c69cec404cbc6b1570c42ca03e0cb42b410d7690.zip
Include-file tweaks for modules
* src/dynlib.c, src/emacs-module.c: Include <config.h> 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.
Diffstat (limited to 'src/dynlib.c')
-rw-r--r--src/dynlib.c2
1 files changed, 2 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. */
24 If you think the abstraction is too leaky use libltdl (libtool), 24 If you think the abstraction is too leaky use libltdl (libtool),
25 don't reinvent the wheel by fixing this one. */ 25 don't reinvent the wheel by fixing this one. */
26 26
27#include <config.h>
28
27#include "dynlib.h" 29#include "dynlib.h"
28 30
29#if defined _WIN32 31#if defined _WIN32