const build_config = @import("build_config"); pub const c = @cImport({ @cInclude("epoxy/gl.h"); @cInclude("GLFW/glfw3.h"); @cInclude("lo/lo.h"); if (build_config.have_ffmpeg) { @cInclude("libavcodec/avcodec.h"); @cInclude("libavformat/avformat.h"); @cInclude("libavdevice/avdevice.h"); @cInclude("libswscale/swscale.h"); } if (build_config.have_hap) { @cInclude("hap.h"); } if (build_config.have_tsv) { @cInclude("texture_share_gl/texture_share_gl_client.h"); } });