From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv5mm-0003pb-GI for qemu-devel@nongnu.org; Wed, 20 May 2015 11:19:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yv5mi-0003eN-3j for qemu-devel@nongnu.org; Wed, 20 May 2015 11:19:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv5mh-0003dv-SQ for qemu-devel@nongnu.org; Wed, 20 May 2015 11:19:52 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t4KFJoMI013363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 20 May 2015 11:19:51 -0400 From: Gerd Hoffmann Date: Wed, 20 May 2015 17:19:39 +0200 Message-Id: <1432135182-29676-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1432135182-29676-1-git-send-email-kraxel@redhat.com> References: <1432135182-29676-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH v2 2/5] ui: shader.h protect against double inclusion List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann Reviewed-by: Max Reitz --- include/ui/shader.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/ui/shader.h b/include/ui/shader.h index 992cde6..8509596 100644 --- a/include/ui/shader.h +++ b/include/ui/shader.h @@ -1,3 +1,6 @@ +#ifndef QEMU_SHADER_H +#define QEMU_SHADER_H + #include void qemu_gl_run_texture_blit(GLint texture_blit_prog); @@ -6,3 +9,5 @@ GLuint qemu_gl_create_compile_shader(GLenum type, const GLchar *src); GLuint qemu_gl_create_link_program(GLuint vert, GLuint frag); GLuint qemu_gl_create_compile_link_program(const GLchar *vert_src, const GLchar *frag_src); + +#endif /* QEMU_SHADER_H */ -- 1.8.3.1