fmt_string is used by the sudoers plugin too so do not include sudo.h

(which is not really needed here anyway)
This commit is contained in:
Todd C. Miller
2010-04-30 13:40:57 -04:00
parent 5e9ec6a365
commit 23f9bb59ec
3 changed files with 3 additions and 3 deletions

View File

@@ -210,7 +210,7 @@ plugin_error.lo: $(srcdir)/plugin_error.c $(incdir)/error.h $(incdir)/compat.h $
alloc.lo: $(top_srcdir)/src/alloc.c $(SUDODEP)
atobool.lo: $(top_srcdir)/src/atobool.c $(SUDODEP)
fileops.lo: $(top_srcdir)/src/fileops.c $(SUDODEP)
fmt_string.lo: $(top_srcdir)/src/fmt_string.c $(SUDODEP)
fmt_string.lo: $(top_srcdir)/src/fmt_string.c $(incdir)/compat.h $(top_builddir)/config.h
list.lo: $(top_srcdir)/src/list.c $(SUDODEP)
lbuf.lo: $(top_srcdir)/src/lbuf.c $(SUDODEP)
zero_bytes.lo: $(top_srcdir)/src/zero_bytes.c $(incdir)/compat.h $(top_builddir)/config.h

View File

@@ -114,7 +114,7 @@ atobool.o: $(srcdir)/atobool.c $(SUDODEP)
conversation.o: $(srcdir)/conversation.c $(SUDODEP)
error.o: $(srcdir)/error.c $(incdir)/compat.h $(incdir)/error.h $(top_builddir)/config.h
fileops.o: $(srcdir)/fileops.c $(SUDODEP)
fmt_string.o: $(srcdir)/fmt_string.c $(SUDODEP)
fmt_string.o: $(srcdir)/fmt_string.c $(incdir)/compat.h $(top_builddir)/config.h
lbuf.o: $(srcdir)/lbuf.c $(SUDODEP)
list.o: $(srcdir)/list.c $(SUDODEP)
load_plugins.o: $(srcdir)/load_plugins.c $(SUDODEP)

View File

@@ -39,7 +39,7 @@
# endif
#endif /* HAVE_STRING_H */
#include "sudo.h"
#include <compat.h>
/*
* Allocate storage for a name=value string and return it.