From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuiWW-0007x8-99 for qemu-devel@nongnu.org; Tue, 19 May 2015 10:29:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuiWR-0005Ug-Jr for qemu-devel@nongnu.org; Tue, 19 May 2015 10:29:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuiWR-0005UW-DO for qemu-devel@nongnu.org; Tue, 19 May 2015 10:29:31 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t4JETTlT014585 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 19 May 2015 10:29:30 -0400 From: Gerd Hoffmann Date: Tue, 19 May 2015 16:29:19 +0200 Message-Id: <1432045761-15543-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1432045761-15543-1-git-send-email-kraxel@redhat.com> References: <1432045761-15543-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 2/4] 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 --- 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