Make it possible to use gbm with c++

NOTE: This is a candiate for 7.11
This commit is contained in:
Jørgen Lind 2011-07-19 22:52:20 +02:00 committed by Kristian Høgsberg
parent d84791a72b
commit 496bf3822a

View file

@ -28,6 +28,11 @@
#ifndef _GBM_H_
#define _GBM_H_
#ifdef __cplusplus
extern "C" {
#endif
#define __GBM__ 1
#include <stdint.h>
@ -97,4 +102,8 @@ gbm_bo_get_handle(struct gbm_bo *bo);
void
gbm_bo_destroy(struct gbm_bo *bo);
#ifdef __cplusplus
}
#endif
#endif