libdvbsub: fix compile with new mandatory -D__STDC_CONSTANT_MACROS compiler flag

This commit is contained in:
J. Krieg
2015-10-08 21:15:07 +02:00
committed by M. Liebmann
parent 9b78404d19
commit 5a7907f9e9
2 changed files with 0 additions and 6 deletions

View File

@@ -1,6 +1,3 @@
// Workaround for C++
#define __STDC_CONSTANT_MACROS
#include <config.h>
#include <errno.h>
#include <fcntl.h>

View File

@@ -12,9 +12,6 @@
#ifndef __DVBSUBTITLE_H
#define __DVBSUBTITLE_H
// Workaround for C++
#define __STDC_CONSTANT_MACROS
extern "C" {
#include <unistd.h>
#include <linux/fb.h>