From 73efac3f1837141ce441fc70814f6174c2c950c9 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Sat, 1 Mar 2008 17:25:27 -0300 Subject: [PATCH] Include for XvShmCreateImage prototype Instead of checking if _XSHM_H_ is defined. Could handle it differently to make code including include Xshm.h before, but this seems to be the most proper way. --- include/X11/extensions/Xvlib.h | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/include/X11/extensions/Xvlib.h b/include/X11/extensions/Xvlib.h index 2fd26e5..8d458fc 100644 --- a/include/X11/extensions/Xvlib.h +++ b/include/X11/extensions/Xvlib.h @@ -55,6 +55,7 @@ SOFTWARE. #include #include +#include typedef struct { int numerator; @@ -366,8 +367,6 @@ extern int XvShmPutImage ( Bool send_event ); -#ifdef _XSHM_H_ - extern XvImage * XvShmCreateImage ( Display *display, XvPortID port, @@ -378,8 +377,6 @@ extern XvImage * XvShmCreateImage ( XShmSegmentInfo *shminfo ); -#endif - _XFUNCPROTOEND -- 1.5.3.2