mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Fix compiling for c++, include cdefs.h.
This commit is contained in:
parent
8d3b309bad
commit
1f4ae9be57
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152950
|
@ -29,12 +29,14 @@
|
|||
#ifndef _MQUEUE_H_
|
||||
#define _MQUEUE_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/mqueue.h>
|
||||
|
||||
struct sigevent;
|
||||
struct timespec;
|
||||
|
||||
__BEGIN_DECLS
|
||||
int mq_close(mqd_t);
|
||||
int mq_getattr(mqd_t, struct mq_attr *);
|
||||
int mq_notify(mqd_t, const struct sigevent *);
|
||||
|
@ -48,4 +50,5 @@ ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t,
|
|||
int mq_timedsend(mqd_t, const char *, size_t, unsigned,
|
||||
const struct timespec *);
|
||||
int mq_unlink(const char *);
|
||||
__END_DECLS
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue