summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-01-22 01:38:55 +0300
committerIgor Pashev <pashev.igor@gmail.com>2012-01-22 01:38:55 +0300
commit7a4dbf9f8334ebb278e0c2ae1dbe4ba151982194 (patch)
tree360e081fbca76b37a0ad8755a316d2b7352ee791
parenta050fe259c5a300db2050a68cdecb2b1d99da01e (diff)
downloadutil-linux-old-7a4dbf9f8334ebb278e0c2ae1dbe4ba151982194.tar.gz
Link with gnulib
-rw-r--r--text-utils/Makefile.am1
-rw-r--r--text-utils/rev.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/text-utils/Makefile.am b/text-utils/Makefile.am
index 6dae8851..415aab1b 100644
--- a/text-utils/Makefile.am
+++ b/text-utils/Makefile.am
@@ -11,6 +11,7 @@ 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
column_LDADD = -L$(top_builddir)/gnulib -lgnu
hexdump_LDADD = -L$(top_builddir)/gnulib -lgnu
+rev_LDADD = -L$(top_builddir)/gnulib -lgnu
if HAVE_NCURSES
bin_PROGRAMS = more
diff --git a/text-utils/rev.c b/text-utils/rev.c
index b6924497..cb39c0f6 100644
--- a/text-utils/rev.c
+++ b/text-utils/rev.c
@@ -57,6 +57,7 @@
#include <unistd.h>
#include <err.h>
#include <signal.h>
+#include <argp.h>
#include "nls.h"
#include "xalloc.h"