PDP-10 / klh10

Community maintained version of Kenneth L. Harrenstien's PDP-10 emulator.
Other
59 stars 8 forks source link

cenv.h must be the first include file #32

Closed JohnForecast closed 6 years ago

JohnForecast commented 6 years ago

System include files for Debian-based ARM (and maybe others) distributions can change the definition of "off_t" from "long" to "long long" depending on the definition of _FILE_OFFSET_BITS. This needs to be consistent across all source modules. Fix feload.c by making cenv.h the first include file so that _FILE_OFFSET_BITS is defined early on.

larsbrinkhoff commented 6 years ago

This looks obvious enough.

One detail, though. I see GitHub doesn't recognize the email address used for the commit, so maybe check if it's the one you intended.