Update copyright dates
[src/app-framework-binder.git] / include / afb / afb-binding.h
index 085dc38..950cd89 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016, 2017, 2018 "IoT.bzh"
+ * Copyright (C) 2015-2020 "IoT.bzh"
  * Author: José Bollo <jose.bollo@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -41,7 +41,7 @@
 
 #include <stdarg.h>
 #include <stdint.h>
-struct json_object;
+#include <json-c/json.h>
 
 /**
  * @def AFB_BINDING_INTERFACE_VERSION
@@ -96,10 +96,10 @@ struct json_object;
 "
 #else
 #  if AFB_BINDING_VERSION == 1
-#    pragma GCC warning "Using binding version 1, consider to switch to version 3"
+#    warning "Using binding version 1, consider to switch to version 3"
 #  endif
 #  if AFB_BINDING_VERSION == 2
-#    pragma GCC warning "Using binding version 2, consider to switch to version 3"
+#    warning "Using binding version 2, consider to switch to version 3"
 #  endif
 #endif