1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

(top-level): Add "#pragma pack(0)" after <dir.h>, to

undo bad effect of pack(4) in some versions of system headers.
This commit is contained in:
Eli Zaretskii 2004-05-01 17:39:43 +00:00
parent 9242b3b792
commit affa509c00
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-05-01 Eli Zaretskii <eliz@gnu.org>
* msdos.c (top-level): Add "#pragma pack(0)" after <dir.h>, to
undo bad effect of pack(4) in some versions of system headers.
2004-05-01 Jason Rumney <jasonr@gnu.org>
* w32term.c (x_draw_hollow_cursor): Sync with xterm.c

View File

@ -40,6 +40,7 @@ Boston, MA 02111-1307, USA. */
#include <unistd.h> /* for chdir, dup, dup2, etc. */
#include <dir.h> /* for getdisk */
#if __DJGPP__ >= 2
#pragma pack(0) /* dir.h does a pack(4), which isn't GCC's default */
#include <fcntl.h>
#include <io.h> /* for setmode */
#include <dpmi.h> /* for __dpmi_xxx stuff */