From c297533d2e67639def4d883cc166153f7af6a991 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..b5474aa 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