[pisa-src] r1307 - in trunk/community-operator: Makefile.am co_server.c

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Tue, 27 Oct 2009 13:21:02 +0100

Author: biurrun
Date: Tue Oct 27 13:21:02 2009
New Revision: 1307

Log:
Add appropriate HIPL #includes to fix the warning:
co_server.c:254: warning: implicit declaration of function `hip_set_logdebug'

Modified:
   trunk/community-operator/Makefile.am
   trunk/community-operator/co_server.c

Modified: trunk/community-operator/Makefile.am
==============================================================================
--- trunk/community-operator/Makefile.am        Tue Oct 27 13:06:08 2009        
(r1306)
+++ trunk/community-operator/Makefile.am        Tue Oct 27 13:21:02 2009        
(r1307)
@@ -15,7 +15,8 @@
 LDFLAGS += -lm
 
 # Things needed for compiling hipl-related codes
-INCLUDES = -I@PISA_HIPL_SRCDIR@/libinet6/include
+INCLUDES  = -I@PISA_HIPL_SRCDIR@
+INCLUDES += -I@PISA_HIPL_SRCDIR@/libinet6/include
 INCLUDES += -I@PISA_HIPL_SRCDIR@/libinet6
 INCLUDES += -I@PISA_HIPL_SRCDIR@/libhiptool
 INCLUDES += -I@PISA_HIPL_SRCDIR@/libdht

Modified: trunk/community-operator/co_server.c
==============================================================================
--- trunk/community-operator/co_server.c        Tue Oct 27 13:06:08 2009        
(r1306)
+++ trunk/community-operator/co_server.c        Tue Oct 27 13:21:02 2009        
(r1307)
@@ -18,6 +18,10 @@
 #include "hitlist.h"
 #include "hipl.h"
 
+#ifdef CONFIG_PISA_WITH_HIPL
+#include "libinet6/debug.h"
+#endif
+
 #define CERT_BUF_SIZE 10240
 #define DEFAULT_NUMBER_OF_PARALLEL_USERS 3
 

Other related posts:

  • » [pisa-src] r1307 - in trunk/community-operator: Makefile.am co_server.c - Diego Biurrun