Browse Source

fixed compilation, relates to #114

Stasik0 9 years ago
parent
commit
9e6a072614
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/server/ua_services_attribute.c

+ 2 - 1
src/server/ua_services_attribute.c

@@ -4,6 +4,7 @@
 #include "ua_statuscodes.h"
 #include "ua_nodestore.h"
 #include "ua_util.h"
+#include "stdio.h"
 
 #define CHECK_NODECLASS(CLASS)                                  \
     if(!(node->nodeClass & (CLASS))) {                          \
@@ -189,7 +190,7 @@ static void readValue(UA_Server *server, const UA_ReadValueId *id, UA_DataValue
     }
 
     UA_NodeStore_release(node);
-#include "stdio.h"
+
     if(v->hasVariant && v->value.type == UA_NULL) {
         printf("%i", id->attributeId);
         UA_assert(UA_FALSE);