diff options
author | neilbrown <neilbrown> | 2005-12-20 04:12:42 +0000 |
---|---|---|
committer | neilbrown <neilbrown> | 2005-12-20 04:12:42 +0000 |
commit | ac5b03be829b4c9369ebfb07a688308721103228 (patch) | |
tree | 90fd0ee1a8e08c241bf3fd0d54690b888e4b5926 /tools/rpcdebug | |
parent | 371ca25167a217d647971384c37aa3fcee8a4aef (diff) | |
download | nfs-utils-ac5b03be829b4c9369ebfb07a688308721103228.tar.gz nfs-utils-ac5b03be829b4c9369ebfb07a688308721103228.tar.xz nfs-utils-ac5b03be829b4c9369ebfb07a688308721103228.zip |
Autogen update
Diffstat (limited to 'tools/rpcdebug')
-rw-r--r-- | tools/rpcdebug/Makefile.am | 14 | ||||
-rw-r--r-- | tools/rpcdebug/neat_idea.c | 4 | ||||
-rw-r--r-- | tools/rpcdebug/rpcdebug.c | 3 |
3 files changed, 19 insertions, 2 deletions
diff --git a/tools/rpcdebug/Makefile.am b/tools/rpcdebug/Makefile.am new file mode 100644 index 0000000..409c98f --- /dev/null +++ b/tools/rpcdebug/Makefile.am @@ -0,0 +1,14 @@ +## Process this file with automake to produce Makefile.in + +CC=$(CC_FOR_BUILD) +LIBTOOL = @LIBTOOL@ --tag=CC + +EXTRA_DIST= neat_idea.c + +noinst_PROGRAMS = rpcdebug +rpcdebug_SOURCES = rpcdebug.c +rpcdebug_CFLAGS=$(CFLAGS_FOR_BUILD) +rpcdebug_CPPFLAGS=$(CPPFLAGS_FOR_BUILD) -I$(top_srcdir)/support/include +rpcdebug_LDFLAGS=$(LDFLAGS_FOR_BUILD) + +MAINTAINERCLEANFILES = Makefile.in diff --git a/tools/rpcdebug/neat_idea.c b/tools/rpcdebug/neat_idea.c index ddaee2e..7ca9d6f 100644 --- a/tools/rpcdebug/neat_idea.c +++ b/tools/rpcdebug/neat_idea.c @@ -11,7 +11,9 @@ * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de> */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <stdio.h> #include <stdlib.h> diff --git a/tools/rpcdebug/rpcdebug.c b/tools/rpcdebug/rpcdebug.c index bbe57b1..89e0f35 100644 --- a/tools/rpcdebug/rpcdebug.c +++ b/tools/rpcdebug/rpcdebug.c @@ -15,7 +15,7 @@ * */ -#include "config.h" +/* #include "config.h" */ #include <sys/types.h> #include <stdio.h> @@ -23,6 +23,7 @@ #include <getopt.h> #include <unistd.h> #include <string.h> +#include <malloc.h> #include <fcntl.h> #include <ctype.h> /* RPC debug flags |