device.h misses a definition of size_t

/usr/include/sys/device.h:128:2: error: unknown type name 'size_t'

Index: device.h
===================================================================
RCS file: /cvs/src/sys/sys/device.h,v
retrieving revision 1.55
diff -u -p -r1.55 device.h
--- device.h    10 Sep 2018 16:18:34 -0000      1.55
+++ device.h    28 Sep 2021 05:04:57 -0000
@@ -44,6 +44,8 @@
 #ifndef _SYS_DEVICE_H_
 #define        _SYS_DEVICE_H_
 
+#include <stddef.h>
+
 #include <sys/queue.h>
 
 /*

Reply via email to