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:
@@ -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)
|
alloc.lo: $(top_srcdir)/src/alloc.c $(SUDODEP)
|
||||||
atobool.lo: $(top_srcdir)/src/atobool.c $(SUDODEP)
|
atobool.lo: $(top_srcdir)/src/atobool.c $(SUDODEP)
|
||||||
fileops.lo: $(top_srcdir)/src/fileops.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)
|
list.lo: $(top_srcdir)/src/list.c $(SUDODEP)
|
||||||
lbuf.lo: $(top_srcdir)/src/lbuf.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
|
zero_bytes.lo: $(top_srcdir)/src/zero_bytes.c $(incdir)/compat.h $(top_builddir)/config.h
|
||||||
|
@@ -114,7 +114,7 @@ atobool.o: $(srcdir)/atobool.c $(SUDODEP)
|
|||||||
conversation.o: $(srcdir)/conversation.c $(SUDODEP)
|
conversation.o: $(srcdir)/conversation.c $(SUDODEP)
|
||||||
error.o: $(srcdir)/error.c $(incdir)/compat.h $(incdir)/error.h $(top_builddir)/config.h
|
error.o: $(srcdir)/error.c $(incdir)/compat.h $(incdir)/error.h $(top_builddir)/config.h
|
||||||
fileops.o: $(srcdir)/fileops.c $(SUDODEP)
|
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)
|
lbuf.o: $(srcdir)/lbuf.c $(SUDODEP)
|
||||||
list.o: $(srcdir)/list.c $(SUDODEP)
|
list.o: $(srcdir)/list.c $(SUDODEP)
|
||||||
load_plugins.o: $(srcdir)/load_plugins.c $(SUDODEP)
|
load_plugins.o: $(srcdir)/load_plugins.c $(SUDODEP)
|
||||||
|
@@ -39,7 +39,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif /* HAVE_STRING_H */
|
#endif /* HAVE_STRING_H */
|
||||||
|
|
||||||
#include "sudo.h"
|
#include <compat.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocate storage for a name=value string and return it.
|
* Allocate storage for a name=value string and return it.
|
||||||
|
Reference in New Issue
Block a user