[ovs-dev] [PATCH] lib/process, socket-util: Update necessary headers

Gurucharan Shetty shettyg at nicira.com
Sat Feb 22 04:03:29 UTC 2014


On Fri, Feb 21, 2014 at 5:33 PM, YAMAMOTO Takashi
<yamamoto at valinux.co.jp> wrote:
> Fix the regression introduced by commit 4f57ad10.
> ("socket-util: Move get_max_fds() to process.c")
>
> Signed-off-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
I suppose this did not fail the build? Otherwise looks like the
correct thing to do.

> ---
>  lib/process.c     | 1 +
>  lib/socket-util.c | 1 -
>  2 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/process.c b/lib/process.c
> index b479d00..313f11f 100644
> --- a/lib/process.c
> +++ b/lib/process.c
> @@ -21,6 +21,7 @@
>  #include <signal.h>
>  #include <stdlib.h>
>  #include <string.h>
> +#include <sys/resource.h>
>  #include <sys/stat.h>
>  #include <sys/wait.h>
>  #include <unistd.h>
> diff --git a/lib/socket-util.c b/lib/socket-util.c
> index 6bc5d2c..eec2713 100644
> --- a/lib/socket-util.c
> +++ b/lib/socket-util.c
> @@ -27,7 +27,6 @@
>  #include <stdlib.h>
>  #include <string.h>
>  #include <sys/ioctl.h>
> -#include <sys/resource.h>
>  #include <sys/socket.h>
>  #include <sys/stat.h>
>  #include <sys/uio.h>
> --
> 1.8.3.1
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list