Skip to content

Commit

Permalink
drm/via: add extern C guard for the UAPI header
Browse files Browse the repository at this point in the history
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
  • Loading branch information
Emil Velikov committed May 13, 2016
1 parent 6a98235 commit b6c2b64
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/uapi/drm/via_drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@

#include "drm.h"

#if defined(__cplusplus)
extern "C" {
#endif

/* WARNING: These defines must be the same as what the Xserver uses.
* if you change them, you must change the defines in the Xserver.
*/
Expand Down Expand Up @@ -271,4 +275,8 @@ typedef struct drm_via_dmablit {
drm_via_blitsync_t sync;
} drm_via_dmablit_t;

#if defined(__cplusplus)
}
#endif

#endif /* _VIA_DRM_H_ */

0 comments on commit b6c2b64

Please sign in to comment.