summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-07-03 15:06:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-07-03 15:06:07 +0000
commitdee792d76c2155d2614de70c3dbe271b7c75b70a (patch)
treed8204ed183979463e945ceb457cceb2ee27241a2
parentd369f2f814726148b26eeef1489ac72ba3024fca (diff)
thou shalt not include sys/cdefs.h because it is not standardized, the
file to be used is sys/types.h
-rw-r--r--usr.bin/ts/ts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ts/ts.c b/usr.bin/ts/ts.c
index 1ab2813973a..d5f8e13ef6d 100644
--- a/usr.bin/ts/ts.c
+++ b/usr.bin/ts/ts.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ts.c,v 1.4 2022/06/30 07:55:48 job Exp $ */
+/* $OpenBSD: ts.c,v 1.5 2022/07/03 15:06:06 deraadt Exp $ */
/*
* Copyright (c) 2022 Job Snijders <job@openbsd.org>
* Copyright (c) 2022 Claudio Jeker <claudio@openbsd.org>
@@ -16,7 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
#include <sys/time.h>
#include <err.h>