Add missing <sys/time.h> include for timespecsub()
authorclaudio <claudio@openbsd.org>
Wed, 6 Sep 2023 09:52:26 +0000 (09:52 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 6 Sep 2023 09:52:26 +0000 (09:52 +0000)
usr.sbin/bgpctl/bgpctl.c

index 981f33f..ebfa0b4 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: bgpctl.c,v 1.295 2023/04/28 13:24:25 claudio Exp $ */
+/*     $OpenBSD: bgpctl.c,v 1.296 2023/09/06 09:52:26 claudio Exp $ */
 
 /*
  * Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -19,6 +19,7 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include <sys/time.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/stat.h>