Hi Lennart, It seems we need to include <netinet/in.h> in socket-util.c, to make build successful. I've made a patch in attachment.
2011/5/20 Lennart Poettering <lenn...@poettering.net>: > Heya! > > http://www.freedesktop.org/software/systemd/systemd-27.tar.bz2 > > Nothing too fancy. But a few new features. > > Kay Sievers (4): > binfmt, modules-load, sysctl, tmpfiles: read /usr/local/lib and where > appropriate /lib directories > binfmt, modules-load, sysctl, tmpfiles: add missing > ConditionDirectoryNotEmpty= > sysctl: correct /usr/local/lib path > update TODO > > Koen Kooi (2): > build-sys: Angstrom support > systemd-analyze: print hostname, kernelversion and arch at the top of > the plot > > Lennart Poettering (21): > units: enable automount units only if the kernel supports them > update TODO > update TODO > vconsole: use open_terminal() instead of open() > unit: make ignoring in snapshots a per unit property, instead of a per > unit type property > user-sessions: ignore EROFS when unlinking /etc/nologin if the file > doesn't exist anyway > hostnamed: SetPrettyHostname() should check PK action > org.freedesktop.hostname1.set-static-hostname > pam: downgrade a few log msgs > update TODO > hostnamed: check that nss-myhostname is installed > README: document relation to nss-myhostname > socket: add POSIX mqueue support > socket: use 666 socket mode by default since neither fifos, nor sockets, > nor mqueues need to be executable > exec: hangup/reset/deallocate VTs in gettys > socket: expose IP_TRANSPARENT > exec: expose tty reset options in dbus introspection data > git: add .mailmap > socket: expose SO_BROADCAST > util: use open_terminal() in chvt() too > update TODO > build-sys: prepare new release 27 > > Ludwig Nussel (1): > sysctl: apply /etc/sysctl.conf last > > Michael Olbrich (1): > build-sys: create dbussystemservicedir > > Miklos Vajna (1): > units: Enable plymouth for Frugalware > > Paul Menzel (1): > util: include `stdarg.h` > > Lennart > > -- > Lennart Poettering - Red Hat, Inc. > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel > -- Regards, - cee1
From da4758c70c137a40a295cff9740018f8139abf13 Mon Sep 17 00:00:00 2001 From: cee1 <fykc...@gmail.com> Date: Fri, 20 May 2011 11:35:51 +0800 Subject: [PATCH] socket-util.c: include netinet/in.h --- src/socket-util.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/socket-util.c b/src/socket-util.c index e2e8988..6468766 100644 --- a/src/socket-util.c +++ b/src/socket-util.c @@ -31,6 +31,7 @@ #include <sys/stat.h> #include <stddef.h> #include <sys/ioctl.h> +#include <netinet/in.h> #include "macro.h" #include "util.h" -- 1.7.5.rc1
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel