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

Re: [Minios-devel] [UNIKRAFT/LIBGO PATCH] Include additional header files and add supress flags for cleaner build.



Looks fine. Thanks.

Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>

On 13.02.20 21:47, Felipe Huici wrote:
Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx>
---
  Makefile.uk | 2 +-
  glue.c      | 2 ++
  2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile.uk b/Makefile.uk
index 9c7e925..9a2987a 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -80,7 +80,7 @@ LIBGO_CFLAGS-y += -DHAVE_CONFIG_H -D_INCLUDE_MALLOC_H_ \
        -Wall -Wextra -Wwrite-strings -Wcast-qual -Wno-unused-function \
        -minline-all-stringops -Wno-implicit-function-declaration \
        -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-LIBGO_CFLAGS-y += -Wno-cast-qual -Wno-unused-value
+LIBGO_CFLAGS-y += -Wno-cast-qual -Wno-unused-value -Wno-unused-parameter
################################################################################
  # libgo code
diff --git a/glue.c b/glue.c
index 301b0db..60a12bd 100644
--- a/glue.c
+++ b/glue.c
@@ -46,6 +46,8 @@
  #include <sys/stat.h>
  #include <uk/essentials.h>
  #include <pte_types.h>
+#include <sys/epoll.h>
+#include <sys/time.h>
int epoll_create(int size __unused)
  {


_______________________________________________
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®.