diff --git a/sys/sys/aio.h b/sys/sys/aio.h index d6ef6aaf701b..35e9b15742a0 100644 --- a/sys/sys/aio.h +++ b/sys/sys/aio.h @@ -130,7 +130,7 @@ int aio_suspend(const struct aiocb * const[], int, const struct timespec *); */ int aio_mlock(struct aiocb *); -#ifdef __BSD_VISIBLE +#if __BSD_VISIBLE int aio_waitcomplete(struct aiocb **, struct timespec *); #endif diff --git a/sys/sys/shm.h b/sys/sys/shm.h index ed068e7e3f73..7463a6ace33d 100644 --- a/sys/sys/shm.h +++ b/sys/sys/shm.h @@ -154,7 +154,7 @@ typedef __size_t size_t; #endif __BEGIN_DECLS -#ifdef __BSD_VISIBLE +#if __BSD_VISIBLE int shmsys(int, ...); #endif void *shmat(int, const void *, int);