diff --git a/src/cc65/main.c b/src/cc65/main.c index 8b1dc23b1..19fb4db41 100644 --- a/src/cc65/main.c +++ b/src/cc65/main.c @@ -45,7 +45,7 @@ #include "debugflag.h" #include "fname.h" #include "print.h" -#include "segdefs.h" +#include "segnames.h" #include "target.h" #include "tgttrans.h" #include "version.h" @@ -405,7 +405,7 @@ static void OptDebug (const char* Opt attribute ((unused)), const char* Arg attribute ((unused))) /* Compiler debug mode */ { - ++Debug; + ++Debug; } diff --git a/src/cc65/pragma.c b/src/cc65/pragma.c index 9a546efc7..bf93bcd5b 100644 --- a/src/cc65/pragma.c +++ b/src/cc65/pragma.c @@ -37,7 +37,7 @@ #include <string.h> /* common */ -#include "segdefs.h" +#include "segnames.h" #include "tgttrans.h" /* cc65 */