diff --git a/SConstruct b/SConstruct index 7168603eb..4f9aa9983 100644 --- a/SConstruct +++ b/SConstruct @@ -819,7 +819,7 @@ class DXXProgram(DXXCommon): 'editor/eglobal.cpp', 'editor/elight.cpp', 'editor/eobject.cpp', -'editor/eswitch.c', +'editor/eswitch.cpp', 'editor/fixseg.c', 'editor/group.c', 'editor/info.c', diff --git a/similar/editor/eswitch.c b/similar/editor/eswitch.cpp similarity index 99% rename from similar/editor/eswitch.c rename to similar/editor/eswitch.cpp index 662ea2f40..6d5c8e240 100644 --- a/similar/editor/eswitch.c +++ b/similar/editor/eswitch.cpp @@ -25,6 +25,7 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. #include "inferno.h" #include "editor.h" #include "editor/esegment.h" +#include "editor/kdefs.h" #include "eswitch.h" #include "segment.h" #include "dxxerror.h"