Don't #include implementation header <machine/types.h> directly.
#include <sys/types.h> before the headers that depend on it.
This commit is contained in:
parent
cd913a5dca
commit
7ffc1f408b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33774
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id$";
|
"$Id: mptable.c,v 1.9 1997/09/25 06:47:33 charnier Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#define VMAJOR 2
|
#define VMAJOR 2
|
||||||
@ -46,16 +46,13 @@ static const char rcsid[] =
|
|||||||
#define EXTENDED_PROCESSING_READY
|
#define EXTENDED_PROCESSING_READY
|
||||||
#define OEM_PROCESSING_READY_NOT
|
#define OEM_PROCESSING_READY_NOT
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
|
||||||
|
|
||||||
#include <machine/types.h>
|
|
||||||
|
|
||||||
|
|
||||||
#define SEP_LINE \
|
#define SEP_LINE \
|
||||||
"\n-------------------------------------------------------------------------------\n"
|
"\n-------------------------------------------------------------------------------\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user