git: sys/vfs/hammer: Add missing header include

Sepherosa Ziehau sepherosa at gmail.com
Wed Feb 25 00:23:26 PST 2015


On Mon, Feb 23, 2015 at 9:12 PM, Tomohiro Kusumi
<tkusumi at crater.dragonflybsd.org> wrote:
>
> commit 71747c5e50e1b2ae34dfe1743d5fcb76905671c6
> Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
> Date:   Mon Feb 23 21:21:20 2015 +0900
>
>     sys/vfs/hammer: Add missing header include
>
>     - #include <sys/param.h> to avoid following error. This happens when
>       hammer_ioctl.h is included without including other hammer headers.
>
>       /usr/include/vfs/hammer/hammer_ioctl.h:351:21: error: 'MAXPATHLEN'
>       undeclared here (not in a function)

Normally either sys/param.h could be included or sys/types.h, but not both.

Best Regards,
sephe


More information about the Commits mailing list