0cb0c9df50
cards. tvtime processes the input from a capture card and displays it on a computer monitor or projector.
20 lines
570 B
Text
20 lines
570 B
Text
$NetBSD: patch-ad,v 1.1.1.1 2008/09/15 13:15:46 jmcneill Exp $
|
|
|
|
--- src/xvoutput.c.orig 2005-08-14 13:35:50.000000000 -0400
|
|
+++ src/xvoutput.c
|
|
@@ -181,6 +181,7 @@ static void *create_shm( int size )
|
|
return 0;
|
|
}
|
|
|
|
+#ifdef SHM_INFO
|
|
maxid = shmctl( 0, SHM_INFO, &shm_info );
|
|
if( maxid < 0 ) {
|
|
fprintf( stderr, "\n"
|
|
@@ -189,6 +190,7 @@ static void *create_shm( int size )
|
|
" tvtime.\n\n" );
|
|
return 0;
|
|
}
|
|
+#endif
|
|
|
|
shminfo.shmid = shmget( IPC_PRIVATE, size, IPC_CREAT | 0777 );
|
|
if( shminfo.shmid != -1 ) {
|