summaryrefslogtreecommitdiff
path: root/src/XvMC.c
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2006-06-16 22:07:08 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2006-06-16 22:07:08 +0000
commit42226f6ba7fbccd7d7cb0f9ce431be477bdf9a0c (patch)
tree5cdcc2dcdf17c3299b8bb4bc7ec6d75cbb5fe846 /src/XvMC.c
parent9a93b2a2ace59e6c2ab8fec586561a136c06e664 (diff)
Define HAS_SHM if shmat() is found
Include <config.h> to get HAS_SHM define.
Diffstat (limited to 'src/XvMC.c')
-rw-r--r--src/XvMC.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/XvMC.c b/src/XvMC.c
index 8db6409..16327c8 100644
--- a/src/XvMC.c
+++ b/src/XvMC.c
@@ -2,6 +2,9 @@
#define NEED_REPLIES
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include "XvMClibint.h"
#ifdef HAS_SHM