diff --git a/demux/ebml.c b/demux/ebml.c index 477e335a2f..5bb8fd83d3 100644 --- a/demux/ebml.c +++ b/demux/ebml.c @@ -224,7 +224,7 @@ int ebml_resync_cluster(struct mp_log *log, stream_t *s) #define E_S(str, count) EVALARGS(E_SN, str, count, N) #define FN(id, name, multiple, N) { id, multiple, offsetof(struct ebml_ ## N, name), offsetof(struct ebml_ ## N, n_ ## name), &ebml_##name##_desc}, #define F(id, name, multiple) EVALARGS(FN, id, name, multiple, N) -#include "generated/ebml_defs.c" +#include "generated/ebml_defs.inc" #undef EVALARGS #undef SN #undef S diff --git a/wscript_build.py b/wscript_build.py index ace0fb1b18..c0dd23bb1c 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -129,7 +129,7 @@ def build(ctx): target = "generated/wayland/xdg-decoration-unstable-v1.h") ctx(features = "ebml_header", target = "generated/ebml_types.h") - ctx(features = "ebml_definitions", target = "generated/ebml_defs.c") + ctx(features = "ebml_definitions", target = "generated/ebml_defs.inc") def swift(task): src = [x.abspath() for x in task.inputs]