[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/LIBUUID PATCH v4 4/5] Add patches directory



Hi Felipe,

The patch looks good, but I'll change the subject to:
'patches: randutils.c - Guard inclusion of sys/syscall.h'

Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx>

On 9/11/19 2:27 PM, Felipe Huici wrote:
> Patch to compile guard inclusion of syscall.h
> 
> Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx>
> ---
>  patches/0001-add-syscall-h-compile-guard.patch | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 patches/0001-add-syscall-h-compile-guard.patch
> 
> diff --git a/patches/0001-add-syscall-h-compile-guard.patch 
> b/patches/0001-add-syscall-h-compile-guard.patch
> new file mode 100644
> index 0000000..adea66a
> --- /dev/null
> +++ b/patches/0001-add-syscall-h-compile-guard.patch
> @@ -0,0 +1,12 @@
> +--- a/randutils.c    2019-04-03 14:46:14.827682485 +0200
> ++++ b/randutils.c    2019-04-03 14:46:48.375286950 +0200
> +@@ -13,7 +13,9 @@
> + #include <string.h>
> + #include <sys/time.h>
> + 
> ++#ifdef DO_JRAND_MIX
> + #include <sys/syscall.h>
> ++#endif
> + 
> + #include "randutils.h"
> + 
> 

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.