ack/mach/proto/as
George Koehler 916d270534 Delay inclusion of <stdint.h> when compiling comm2.y
See issue #1 (https://github.com/davidgiven/ack/issues/1).  The file
mach/proto/as/comm2.y goes through cpp twice.  The _include macro,
defined in comm2.y and used in comm0.h, delays the inclusion of system
header files.  The inclusion of <stdint.h> wasn't delayed.  This
caused multiple inclusions of <sys/_types.h> in FreeBSD and
<machine/_types.h> in OpenBSD.

Use _include to delay <stdint.h>.  Also use _include for "arch.h" and
"out.h", because h/out.h includes <stdint.h> and h/arch.h might
include it in the future.

Sort the system includes in comm0.h by moving them up to be with
<stdint.h>.  Must include <stdint.h> before "mach0.c", because
mach/powerpc/as/mach0.c needs it.  Must include "mach0.c" before
checking ASLD.
2017-01-16 22:39:44 -05:00
..
build.lua Raspberry Pi backend now builds. 2016-08-20 12:40:13 +02:00
comm0.h Delay inclusion of <stdint.h> when compiling comm2.y 2017-01-16 22:39:44 -05:00
comm1.h 64-bit-ify (adhoc varargs are evil). 2015-03-23 00:07:59 +01:00
comm2.y Header --> Id 1994-06-24 14:02:31 +00:00
comm3.c Use relocation enumerations rather than hard-coded values for relocation types 2013-05-29 14:11:04 +01:00
comm4.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
comm5.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
comm6.c Remove some obsolete code that causes a gcc warning. 2017-01-16 18:09:55 -05:00
comm7.c 64-bit-ify (adhoc varargs are evil). 2015-03-23 00:07:59 +01:00
comm8.c Header --> Id 1994-06-24 14:02:31 +00:00
proto.make Header --> Id 1994-06-24 14:02:31 +00:00