]> git.sesse.net Git - vlc/commitdiff
* SDL compilation fix for FreeBSD.
authorSam Hocevar <sam@videolan.org>
Thu, 7 Jun 2001 22:14:56 +0000 (22:14 +0000)
committerSam Hocevar <sam@videolan.org>
Thu, 7 Jun 2001 22:14:56 +0000 (22:14 +0000)
  * Fixed compilation of motion modules as plugins.

plugins/motion/vdec_motion_inner.c
plugins/motion/vdec_motion_inner_mmx.c
plugins/motion/vdec_motion_inner_mmxext.c
plugins/sdl/vout_sdl.c

index e3e53965e46fed252b09d263264cad03969f6ee5..ee6dbde39cdde8614969f6532e8590b86856bbc4 100644 (file)
@@ -2,7 +2,7 @@
  * vdec_motion_inner.c : motion compensation inner routines
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: vdec_motion_inner.c,v 1.2 2001/06/07 15:27:44 sam Exp $
+ * $Id: vdec_motion_inner.c,v 1.3 2001/06/07 22:14:55 sam Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *          Jean-Marc Dressler <polux@via.ecp.fr>
@@ -23,6 +23,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
+#define MODULE_NAME motion
 #include "modules_inner.h"
 
 /*****************************************************************************
index 11db6863be6a304caaa2f14c4368e4eb34e5ef8d..ac31682aaf1f87601fe79428412108bae3764737 100644 (file)
@@ -3,7 +3,7 @@
  *                           MMX
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: vdec_motion_inner_mmx.c,v 1.2 2001/06/07 15:27:44 sam Exp $
+ * $Id: vdec_motion_inner_mmx.c,v 1.3 2001/06/07 22:14:55 sam Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>, largerly inspired by the
  *          work done by the livid project <http://www.linuxvideo.org/>
@@ -23,6 +23,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
+#define MODULE_NAME motionmmx
 #include "modules_inner.h"
 
 /*****************************************************************************
index f93720db71f53ffcf4339a236e428a7e1ce9e6d2..2d6df9ffc3f63a1f83049650fc5e7215d1713612 100644 (file)
@@ -3,7 +3,7 @@
  *                              in MMX EXT
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: vdec_motion_inner_mmxext.c,v 1.2 2001/06/07 15:27:44 sam Exp $
+ * $Id: vdec_motion_inner_mmxext.c,v 1.3 2001/06/07 22:14:55 sam Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>, largerly inspired by the
  *          work done by the livid project <http://www.linuxvideo.org/>
@@ -23,6 +23,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
+#define MODULE_NAME motionmmxext
 #include "modules_inner.h"
 
 /*****************************************************************************
index 984149d74328de492a97132f884c33db6b7d71b9..4e47cb7fe8a23968510c82f2fdd92b019f7fc1f3 100644 (file)
@@ -2,7 +2,7 @@
  * vout_sdl.c: SDL video output display method
  *****************************************************************************
  * Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: vout_sdl.c,v 1.54 2001/05/31 03:23:24 sam Exp $
+ * $Id: vout_sdl.c,v 1.55 2001/06/07 22:14:56 sam Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          Pierre Baillet <oct@zoy.org>
@@ -35,8 +35,9 @@
 #include <stdlib.h>                                                /* free() */
 #include <string.h>                                            /* strerror() */
 
+#include <sys/types.h>
 #ifndef WIN32
-#include <netinet/in.h>                               /* BSD: struct in_addr */
+#   include <netinet/in.h>                            /* BSD: struct in_addr */
 #endif
 
 #include <SDL/SDL.h>