On Fri, Aug 01, 2014 at 03:53:07PM +0100, 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 > > The attached patch is what I'm using, and might be closer to correct, > although I think to be fully portable (e.g. to Debian 7 with its > original Linux 3.2) the inclusion of <linux/btrfs.h> might need to be > wrapped in #ifdef HAVE_LINUX_BTRFS_H too. I haven't tried that > configuration. Hi, I applied your version of the patch, because it seems correct to move compat stuff to missing.h. In subsequent commit I moved the other define.
Zbyszek _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel