thou shalt not include sys/cdefs.h because it is not standardized, the
authorderaadt <deraadt@openbsd.org>
Sun, 3 Jul 2022 15:06:06 +0000 (15:06 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 3 Jul 2022 15:06:06 +0000 (15:06 +0000)
file to be used is sys/types.h

usr.bin/ts/ts.c

index 1ab2813..d5f8e13 100644 (file)
@@ -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>