headers: Sync up some header guard changes from drm-next.
[platform/upstream/libdrm.git] / include / drm / sis_drm.h
index 30f7b38..8e51bb9 100644 (file)
 #ifndef __SIS_DRM_H__
 #define __SIS_DRM_H__
 
+#include "drm.h"
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 /* SiS specific ioctls */
 #define NOT_USED_0_3
 #define DRM_SIS_FB_ALLOC       0x04
@@ -64,4 +70,8 @@ typedef struct {
        unsigned int offset, size;
 } drm_sis_fb_t;
 
+#if defined(__cplusplus)
+}
+#endif
+
 #endif                         /* __SIS_DRM_H__ */