Use clock_gettime(), not timespec_get() like other parts of ifconfig.
authormillert <millert@openbsd.org>
Sun, 29 Oct 2023 14:23:04 +0000 (14:23 +0000)
committermillert <millert@openbsd.org>
Sun, 29 Oct 2023 14:23:04 +0000 (14:23 +0000)
commit201c0eec1c5d4f7439bffaeb20d40acd066efb45
tree6046319efae28014d35c170e92a1338123506f27
parentc8ef2279606ab66d81c3e2ad056a0ea13ec53bd3
Use clock_gettime(), not timespec_get() like other parts of ifconfig.
This makes is possible to build the base system with a C99 compiler.
OK deraadt@ mvs@
sbin/ifconfig/ifconfig.c