OBS implicit errors with package lxdream

Hello.

I’m trying to build in OBS lxdream package.

lxdream project abandoned by the author for more than 7 years.

The package is building, but after test, indicate implicit errors and the package will not be published.
Help write a patch or tell me how to solve the problems.

https://build.opensuse.org/package/live_build_log/home:13ilya/lxdream/openSUSE_Tumbleweed/x86_64

  137s] I: Program is using implicit definitions of functions getting
  137s]    pointers or implemented by macros. These functions need to use their
  137s]    correct prototypes to allow correct argument passing on e.g. x86_64 .
  137s]      - Implicit memory/string functions need #include <string.h>.
  137s]      - Implicit *printf functions need #include <stdio.h>.
  137s]      - Implicit *printf functions need #include <stdio.h>.
  137s]      - Implicit *read* functions need #include <unistd.h>.
  137s]      - Implicit *recv* functions need #include <sys/socket.h>.
  137s] W: lxdream implicit-pointer-decl actparse.c:69, 102
  137s] W: lxdream implicit-pointer-decl genglsl.c:152, 164, 233
  137s] W: lxdream implicit-pointer-decl mdparse.c:499
  137s] 
  137s] I: File is compiled without RPM_OPT_FLAGS
  137s] W: lxdream no-rpm-opt-flags <cmdline>:gendec.c, insparse.c, actparse.c, genglsl.c, genmach.c, mdparse.c, config.c, cpu.c, mem.c, sdram.c, watch.c, asic.c, syscall.c, bios.c, dcload.c, gdbserver.c, ioutil.c, lxpaths.c, gdrom/ide.c, gdrom/gdrom.c, dreamcast.c, eventq.c, sh4/sh4.c, sh4/intc.c, sh4/sh4mem.c, sh4/timer.c, sh4/dmac.c, sh4/mmu.c, sh4/sh4core.c, sh4/sh4dasm.c, sh4/sh4mmio.c, sh4/scif.c, sh4/sh4stat.c, xlat/xltcache.c, sh4/pmm.c, sh4/cache.c, aica/armcore.c, aica/armdasm.c, aica/armmem.c, aica/aica.c, aica/audio.c, pvr2/pvr2.c, pvr2/pvr2mem.c, pvr2/tacore.c, pvr2/rendsort.c, pvr2/texcache.c, pvr2/yuv.c, pvr2/rendsave.c, pvr2/scene.c, pvr2/glutil.c, pvr2/glrender.c, maple/maple.c, maple/controller.c, maple/kbd.c, maple/mouse.c, maple/lightgun.c, maple/vmu.c, loader.c, bootstrap.c, gdlist.c, vmu/vmuvol.c, vmu/vmulist.c, display.c, drivers/audio_null.c, drivers/video_null.c, drivers/video_gl.c, drivers/gl_fbo.c, drivers/gl_vbo.c, drivers/gl_sl.c, drivers/serial_unix.c, drivers/cdrom/cdrom.c, drivers/cdrom/sector.c, drivers/cdrom/cd_nrg.c, drivers/cdrom/cd_cdi.c, drivers/cdrom/cd_gdi.c, drivers/cdrom/edc_ecc.c, drivers/cdrom/drive.c, drivers/cdrom/cd_mmc.c, drivers/cdrom/isofs.c, drivers/cdrom/isomem.c, hotkeys.c, sh4/sh4x86.c, xlat/xlatdasm.c, sh4/sh4trans.c, sh4/mmux86.c, sh4/shadow.c, xlat/disasm/i386-dis.c, xlat/disasm/dis-init.c, xlat/disasm/dis-buf.c, xlat/disasm/arm-dis.c, xlat/disasm/floatformat.c, xlat/disasm/safe-ctype.c, paths_unix.c, drivers/io_glib.c, main.c, plugin.c, gtkui/gtkui.c, gtkui/gtk_win.c, gtkui/gtkcb.c, gtkui/gtk_cfg.c, gtkui/gtk_mmio.c, gtkui/gtk_debug.c, gtkui/gtk_dump.c, gtkui/gtk_ctrl.c, gtkui/gtk_gd.c, drivers/video_gtk.c, drivers/video_glx.c, drivers/video_egl.c, drivers/cdrom/cd_linux.c, drivers/joy_linux.c, drivers/dummy.c, drivers/audio_sdl.c, drivers/audio_pulse.c, drivers/audio_esd.c, drivers/audio_alsa.c, drivers/input_lirc.c, version.c
  137s] E: lxdream 64bit-portability-issue genglsl.c:195, 233, 243
  137s] E: lxdream 64bit-portability-issue mdparse.c:499