]> git.sesse.net Git - vlc/blobdiff - include/vlc_block_helper.h
* Expand the ugly hack to also let automake define OBJCLINK and friends
[vlc] / include / vlc_block_helper.h
index 034739f469203de23c988ec02c1d0e423412e306..35652e982498ed437e62e5027a4e118ee2908343 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * vlc_block_helper.h: Helper functions for data blocks management.
  *****************************************************************************
- * Copyright (C) 2003 VideoLAN
+ * Copyright (C) 2003 the VideoLAN team
  * $Id$
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#if !defined( __LIBVLC__ )
+  #error You are not libvlc or one of its plugins. You cannot include this file
+#endif
+
 #ifndef _VLC_BLOCK_HELPER_H
 #define _VLC_BLOCK_HELPER_H 1
 
+#include <vlc_block.h>
+
 typedef struct block_bytestream_t
 {
     block_t             *p_chain;