From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyHCJ-0002Ti-Ed for qemu-devel@nongnu.org; Fri, 29 May 2015 06:07:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyHCH-0000XG-Qi for qemu-devel@nongnu.org; Fri, 29 May 2015 06:07:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyHCH-0000Wx-KU for qemu-devel@nongnu.org; Fri, 29 May 2015 06:07:25 -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 (Postfix) with ESMTPS id 54F723620B8 for ; Fri, 29 May 2015 10:07:25 +0000 (UTC) From: Gerd Hoffmann Date: Fri, 29 May 2015 12:07:13 +0200 Message-Id: <1432894036-28513-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1432894036-28513-1-git-send-email-kraxel@redhat.com> References: <1432894036-28513-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 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