diff options
author | 2012-02-10 21:25:06 +0530 | |
---|---|---|
committer | 2012-02-10 21:25:06 +0530 | |
commit | 18bb64cd431235f696720150dfbcbfc761e19ef0 (patch) | |
tree | 3756a078b3148b91aeb449d7e76568009d761b79 /exec.cpp | |
parent | d975187433ed71120d603ab2815d11b9c80ae8be (diff) |
Fixed compilation with recent changes on Linux.
Diffstat (limited to 'exec.cpp')
-rw-r--r-- | exec.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -25,6 +25,7 @@ #include <time.h> #include <vector> #include <deque> +#include <algorithm> #ifdef HAVE_SIGINFO_H #include <siginfo.h> @@ -128,7 +129,7 @@ void exec_close( int fd ) } /* Maybe remove this form our set of open fds */ - open_fds.erase(remove(open_fds.begin(), open_fds.end(), fd), open_fds.end()); + open_fds.erase(std::remove(open_fds.begin(), open_fds.end(), fd), open_fds.end()); } int exec_pipe( int fd[2]) |