diff --git a/sys/sys/uuid.h b/sys/sys/uuid.h index 155f90964b85..f3d9927db3ce 100644 --- a/sys/sys/uuid.h +++ b/sys/sys/uuid.h @@ -29,6 +29,8 @@ #ifndef _SYS_UUID_H_ #define _SYS_UUID_H_ +#include + /* Length of a node address (an IEEE 802 address). */ #define _UUID_NODE_LEN 6 @@ -63,7 +65,9 @@ int sbuf_printf_uuid(struct sbuf *, struct uuid *); /* XXX namespace pollution? */ typedef struct uuid uuid_t; +__BEGIN_DECLS int uuidgen(struct uuid *, int); +__END_DECLS #endif /* _KERNEL */