Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16142

Missing sys/ioctl.h from src/libs/zbxsysinfo/openbsd/net.c

XMLWordPrintable

    • Team A
    • Sprint 52 (May 2019), Sprint 53 (Jun 2019)
    • 0.125

      Compiling zabbix on OpenBSD with theĀ -Wimplicit-function-declaration give this:

      if (ioctl(if_s, SIOCGIFDATA, &ifr) < 0)
      ^
      net.c:169:7: warning: this function declaration is not a prototype
      

      The cause is a missing include of the sys/ioctl.h header

            ak Andrejs Kozlovs
            abiscuola Andrea Biscuola
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: