OSDN Git Service

drm_hwcomposer: Fix header compilation for C
authorLauri Peltonen <lpeltonen@nvidia.com>
Mon, 2 Mar 2015 17:10:04 +0000 (19:10 +0200)
committerDavid Riley <davidriley@google.com>
Tue, 3 Mar 2015 19:02:16 +0000 (11:02 -0800)
Change-Id: I07ff3f16f3542071b42cfaa6b294017e54a84c4a
Reviewed-on: https://chrome-internal-review.googlesource.com/203636
Reviewed-by: Stéphane Marchesin <marcheu@google.com>
Commit-Queue: Stéphane Marchesin <marcheu@google.com>
Tested-by: Stéphane Marchesin <marcheu@google.com>
drm_hwcomposer.h

index b94e5dd..172b15b 100644 (file)
@@ -14,6 +14,9 @@
  * limitations under the License.
  */
 
+#include <stdbool.h>
+#include <stdint.h>
+
 struct hwc_import_context;
 
 enum {
@@ -58,5 +61,5 @@ int hwc_import_destroy(struct hwc_import_context *ctx);
 
 int hwc_import_bo_create(int fd, struct hwc_import_context *ctx,
                        buffer_handle_t buf, struct hwc_drm_bo *bo);
-bool hwc_import_bo_release(int fd, hwc_import_context *ctx,
+bool hwc_import_bo_release(int fd, struct hwc_import_context *ctx,
                        struct hwc_drm_bo *bo);