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

    Details

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

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: