summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-10-13 03:36:00 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-10-13 03:36:00 +0000
commitbcf2ac2cc9cdad26cc45a87737c8194435f93a05 (patch)
tree4620fc3e68851ab6ca5701e7c88b40c0d1cb937c /usr.bin
parent58fe14960eba258a97e666f98a12b16d545abed1 (diff)
include stdio.h for sscanf() snprintf()
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rsync/socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/rsync/socket.c b/usr.bin/rsync/socket.c
index 12cc46acffe..d723d9e7df4 100644
--- a/usr.bin/rsync/socket.c
+++ b/usr.bin/rsync/socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: socket.c,v 1.33 2022/12/26 19:16:02 jmc Exp $ */
+/* $OpenBSD: socket.c,v 1.34 2024/10/13 03:35:59 jsg Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -31,6 +31,7 @@
#include <string.h>
#include <unistd.h>
#include <err.h>
+#include <stdio.h>
#include "extern.h"