summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-10-23 20:35:18 -0700
committerEli Zaretskii <eliz@gnu.org>2021-10-24 20:22:17 +0300
commitbeb265450c01b3e3188f844ff0fb961d9df79071 (patch)
tree03295c51c4b05d55464e2511dae4d114f00a236f /nt
parentd64936d8f6dfb7abbf5d6700b040be8937b7f22a (diff)
downloademacs-beb265450c01b3e3188f844ff0fb961d9df79071.tar.gz
Include <config.h> first in MS-Windows source
Diffstat (limited to 'nt')
-rw-r--r--nt/addpm.c4
-rw-r--r--nt/cmdproxy.c3
-rw-r--r--nt/ddeclient.c3
-rw-r--r--nt/preprep.c3
-rw-r--r--nt/runemacs.c3
5 files changed, 16 insertions, 0 deletions
diff --git a/nt/addpm.c b/nt/addpm.c
index f54a6ea9f7c..f07e4c2c5a6 100644
--- a/nt/addpm.c
+++ b/nt/addpm.c
@@ -34,6 +34,10 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
installed, then the DDE fallback for creating icons the Windows 3.1
progman way will be used instead, but that is prone to lockups
caused by other applications not servicing their message queues. */
+
+#define DEFER_MS_W3_H
+#include <config.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <malloc.h>
diff --git a/nt/cmdproxy.c b/nt/cmdproxy.c
index 224f68b1e85..2bc03673d5a 100644
--- a/nt/cmdproxy.c
+++ b/nt/cmdproxy.c
@@ -27,6 +27,9 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
+#define DEFER_MS_W3_H
+#include <config.h>
+
#include <windows.h>
#include <stdarg.h> /* va_args */
diff --git a/nt/ddeclient.c b/nt/ddeclient.c
index c577bfcfa93..1c1f7679ea1 100644
--- a/nt/ddeclient.c
+++ b/nt/ddeclient.c
@@ -16,6 +16,9 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
+#define DEFER_MS_W3_H
+#include <config.h>
+
#include <windows.h>
#include <ddeml.h>
#include <stdlib.h>
diff --git a/nt/preprep.c b/nt/preprep.c
index 78ed1c32381..48c55ef2218 100644
--- a/nt/preprep.c
+++ b/nt/preprep.c
@@ -21,6 +21,9 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
based on code from addsection.c
*/
+#define DEFER_MS_W3_H
+#include <config.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
diff --git a/nt/runemacs.c b/nt/runemacs.c
index 308e856be2a..cce4904d88d 100644
--- a/nt/runemacs.c
+++ b/nt/runemacs.c
@@ -40,6 +40,9 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
/* #define CHOOSE_NEWEST_EXE */
+#define DEFER_MS_W3_H
+#include <config.h>
+
#include <windows.h>
#include <string.h>
#include <malloc.h>