diff --git a/sys/dev/sound/pcm/datatypes.h b/sys/dev/sound/pcm/datatypes.h index 8a28162bb6c4..ac674138a8f1 100644 --- a/sys/dev/sound/pcm/datatypes.h +++ b/sys/dev/sound/pcm/datatypes.h @@ -137,8 +137,10 @@ struct _snddev_info { void *devinfo; device_t dev; char status[SND_STATUSLEN]; +#ifdef SND_DYNSYSCTL struct sysctl_ctx_list sysctl_tree; struct sysctl_oid *sysctl_tree_top; +#endif }; /*****************************************************************************/