[systemd-devel] [patch] #include src/shared/missing.h in src/shared/util.h for missing struct file_handle definition

Samuli Suominen ssuominen at gentoo.org
Fri Aug 1 08:15:58 PDT 2014

On 01/08/14 17:53, Simon McVittie wrote:
> On 01/08/14 15:43, Samuli Suominen wrote:
>> Please, #include "missing.h" in src/shared/util.h to fix the build for
>> old systems w/ no system header defining
>> the struct
> I ran into the same thing on a slightly odd system (Debian 7 with a
> backported kernel, so it has Linux 3.14 but only glibc 2.13)

Almost same. Same enough to be the same.

> and
> initially tried an identical patch, but it turned out to break the
> build, because missing.h redefines a bunch of stuff from <linux/btrfs.h>

Ah, should have verified with a full build. Nice catch!

> Thanks for reminding me to upstream this!


- Samuli

More information about the systemd-devel mailing list