summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-01-22 01:25:13 +0300
committerIgor Pashev <pashev.igor@gmail.com>2012-01-22 01:25:13 +0300
commit6f249e42089dda577e3a801ec7c381550c6d616a (patch)
tree6e6f67ef30d36e6a714698af6e139c82cc63f150
parent2059328e2f880d6b55d2df0a767fb798dc19206c (diff)
downloadutil-linux-old-6f249e42089dda577e3a801ec7c381550c6d616a.tar.gz
Use gnulib for text-utils/col.c
-rw-r--r--text-utils/Makefile.am1
-rw-r--r--text-utils/col.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/text-utils/Makefile.am b/text-utils/Makefile.am
index eee00c32..32c8c643 100644
--- a/text-utils/Makefile.am
+++ b/text-utils/Makefile.am
@@ -8,6 +8,7 @@ hexdump_SOURCES = hexdump.c conv.c display.c hexsyntax.c parse.c \
hexdump.h
dist_man_MANS = col.1 colcrt.1 colrm.1 column.1 hexdump.1 rev.1 line.1 tailf.1
+col_LDADD = -L$(top_builddir)/gnulib -lgnu
if HAVE_NCURSES
bin_PROGRAMS = more
diff --git a/text-utils/col.c b/text-utils/col.c
index c31a32af..95a82f69 100644
--- a/text-utils/col.c
+++ b/text-utils/col.c
@@ -50,6 +50,7 @@
#include <string.h>
#include <stdio.h>
#include <unistd.h>
+#include <argp.h>
#include "nls.h"
#include "xalloc.h"