Comment 0 for bug 1843430

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

We hit this on a rebuild in Eoan
dhcp.c: In function ‘dhcp_packet’:
dhcp.c:182:17: error: ‘SIOCGSTAMP’ undeclared (first use in this function); did you mean ‘SIOCGARP’?
  182 | if (ioctl(fd, SIOCGSTAMP, &tv) == 0)
      | ^~~~~~~~~~
      | SIOCGARP

This seems much like the fix in the (not yet released) upstream repo:
=> http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=3052ce208acf602f0163166dcefb7330d537cedb

"Fix build after y2038 changes in glib.
SIOCGSTAMP is defined in linux/sockios.h, not asm/sockios.h now."