diff options
author | jilles <jilles@FreeBSD.org> | 2015-01-31 16:39:26 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2015-01-31 16:39:26 +0000 |
commit | 7eac6b3e694ade2165f48d817540a1ad166fba80 (patch) | |
tree | a4deb2228e90e74c58c3baefe7661f51e12b9efa /include/semaphore.h | |
parent | 78884a33497c94ab855e6e2496fc113612b3aea6 (diff) | |
download | FreeBSD-src-7eac6b3e694ade2165f48d817540a1ad166fba80.zip FreeBSD-src-7eac6b3e694ade2165f48d817540a1ad166fba80.tar.gz |
Ensure #include <semaphore.h> is sufficient for using SEM_VALUE_MAX.
Discussed with: pluknet
Diffstat (limited to 'include/semaphore.h')
-rw-r--r-- | include/semaphore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/semaphore.h b/include/semaphore.h index 218de99..c42a8d2 100644 --- a/include/semaphore.h +++ b/include/semaphore.h @@ -36,6 +36,8 @@ #include <sys/_types.h> #include <sys/_umtx.h> +#include <machine/_limits.h> + struct _sem { __uint32_t _magic; struct _usem2 _kern; |