diff --git a/configure.in b/configure.in index 45981c1..dfb549b 100644 --- a/configure.in +++ b/configure.in @@ -34,4 +34,4 @@ AC_CHECK_LIB(m, pow, LIBNL_LIB="$LIBM" AC_SUBST(LIBNL_LIB) -AC_OUTPUT([Makefile.opts libnl-1.pc doc/Doxyfile]) +AC_OUTPUT([Makefile.opts libnl-1.pc doc/Doxyfile include/netlink/version.h]) diff --git a/include/netlink/netlink.h b/include/netlink/netlink.h index 2cdf345..bfae909 100644 --- a/include/netlink/netlink.h +++ b/include/netlink/netlink.h @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/include/netlink/version.h b/include/netlink/version.h new file mode 100644 index 0000000..6e0178c --- /dev/null +++ b/include/netlink/version.h @@ -0,0 +1,18 @@ +/* + * netlink/version.h Compile Time Versioning Information + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation version 2.1 + * of the License. + * + * Copyright (c) 2008 Thomas Graf + */ + +#ifndef NETLINK_VERSION_H_ +#define NETLINK_VERSION_H_ + +#define LIBNL_STRING "libnl 1.2" +#define LIBNL_VERSION "1.2" + +#endif