diff --git a/src/libutil/types.hh b/src/libutil/types.hh index 7634ccd16..ff313f88d 100644 --- a/src/libutil/types.hh +++ b/src/libutil/types.hh @@ -49,6 +49,7 @@ public: typedef list Strings; +typedef list StringsList; typedef set StringSet; typedef set SetStringSet; diff --git a/src/libutil/util.cc b/src/libutil/util.cc index e61e1011c..917f57c48 100644 --- a/src/libutil/util.cc +++ b/src/libutil/util.cc @@ -773,7 +773,7 @@ void killUser(uid_t uid) string runProgram(Path program, bool searchPath, const Strings & args) { /* Split args based on | for pipe-ing */ - + StringsList l; /* Create a pipe. */ Pipe pipe;