Include <config.h> first in MS-Windows source

This commit is contained in:
Paul Eggert 2021-10-23 20:35:18 -07:00 committed by Eli Zaretskii
parent d64936d8f6
commit beb265450c
6 changed files with 19 additions and 0 deletions

View file

@ -20,6 +20,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 <stdlib.h>
#include <stdio.h>

View file

@ -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>

View file

@ -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 */

View file

@ -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>

View file

@ -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>

View file

@ -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>