summaryrefslogtreecommitdiff
path: root/src/dynlib.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-11-20 00:40:45 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-11-20 00:41:21 -0800
commitc69cec404cbc6b1570c42ca03e0cb42b410d7690 (patch)
tree633f48cac6436a0f9c37168eb714d36719b71dfd /src/dynlib.c
parentaa7dac899804727875cdb8fe267d37adcbe9705a (diff)
downloademacs-c69cec404cbc6b1570c42ca03e0cb42b410d7690.tar.gz
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/>. */
If you think the abstraction is too leaky use libltdl (libtool),
don't reinvent the wheel by fixing this one. */
+#include <config.h>
+
#include "dynlib.h"
#if defined _WIN32