summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-01-22 01:49:26 +0300
committerIgor Pashev <pashev.igor@gmail.com>2012-01-22 01:49:26 +0300
commitd3c9f17b005ee89e140dd4569c1a9058b3ee0e58 (patch)
tree942eabc8d39938345a41f30685c064ca758fb09b
parentec46cac044a85a5086f26c66ce0da98b40ee5574 (diff)
downloadutil-linux-old-d3c9f17b005ee89e140dd4569c1a9058b3ee0e58.tar.gz
Link with gnulib
-rw-r--r--lib/Makefile.am1
-rw-r--r--lib/mangle.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 0f13237f..efe93af6 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -22,6 +22,7 @@ endif
test_tt_SOURCES = tt.c
test_canonicalize_SOURCES = canonicalize.c
+test_mangle_LDADD = -L$(top_builddir)/gnulib -lgnu
if LINUX
test_blkdev_SOURCES += linux_version.c
endif
diff --git a/lib/mangle.c b/lib/mangle.c
index 17ca8095..cfa8b30a 100644
--- a/lib/mangle.c
+++ b/lib/mangle.c
@@ -9,6 +9,7 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
+#include <argp.h>
#include "mangle.h"