gnulib: add gnulib modules

Some systems, such as freebsd, does not have program_invocation_short_name
available.  There are also problems finding AF_INET{,6} definitions.

CC: Peter Fraser <p_fraser@hotmail.com>
Reported-by: Ryan Steinmetz <zi@freebsd.org>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2013-05-10 23:50:02 +01:00
parent 0002aa57e6
commit 8dba1c749d
7 changed files with 20 additions and 5 deletions

View file

@ -47,6 +47,7 @@
#include <string.h>
#include "dhcpd-pools.h"
#include "progname.h"
/*! \brief Compare IP address, with IPv4/v6 determination.
* \param a Binary IP address.
@ -216,7 +217,7 @@ comparer_t field_selector(char c)
default:
warnx("field_selector: unknown sort order `%c'", c);
errx(EXIT_FAILURE, "Try `%s --help' for more information.",
program_invocation_short_name);
program_name);
}
return NULL;
}