summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/dts/gstdtsdec.c5
-rw-r--r--ext/resindvd/resindvdsrc.h4
-rw-r--r--gst/bayer/gstbayer2rgb.c6
-rw-r--r--gst/dccp/gstdccp_common.h12
-rw-r--r--gst/librfb/d3des.c7
-rw-r--r--sys/fbdev/gstfbdevsink.c8
6 files changed, 36 insertions, 6 deletions
diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c
index 095238cd8..70ffbc7a0 100644
--- a/ext/dts/gstdtsdec.c
+++ b/ext/dts/gstdtsdec.c
@@ -38,8 +38,11 @@
#include "config.h"
#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
#include <string.h>
-#include "_stdint.h"
#include <stdlib.h>
#include <gst/gst.h>
diff --git a/ext/resindvd/resindvdsrc.h b/ext/resindvd/resindvdsrc.h
index cc2bb049a..b5d8e3603 100644
--- a/ext/resindvd/resindvdsrc.h
+++ b/ext/resindvd/resindvdsrc.h
@@ -23,7 +23,9 @@
#include <gst/base/gstbasesrc.h>
-#include "_stdint.h"
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#include <dvdnav/dvdnav.h>
#include <dvdread/ifo_read.h>
diff --git a/gst/bayer/gstbayer2rgb.c b/gst/bayer/gstbayer2rgb.c
index e159ca2c2..0b6f23218 100644
--- a/gst/bayer/gstbayer2rgb.c
+++ b/gst/bayer/gstbayer2rgb.c
@@ -80,7 +80,11 @@
#include <gst/video/video.h>
#include <string.h>
#include <stdlib.h>
-#include <_stdint.h>
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
#include "gstbayerorc.h"
#define GST_CAT_DEFAULT gst_bayer2rgb_debug
diff --git a/gst/dccp/gstdccp_common.h b/gst/dccp/gstdccp_common.h
index 3851e5195..c88f8efd8 100644
--- a/gst/dccp/gstdccp_common.h
+++ b/gst/dccp/gstdccp_common.h
@@ -38,9 +38,19 @@
#define socklen_t int
#endif
#endif
+
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
-#include <_stdint.h>
+#endif
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+
#include <string.h>
#endif /* __GST_DCCP_NET_H__ */
diff --git a/gst/librfb/d3des.c b/gst/librfb/d3des.c
index c05fea3f0..377670e33 100644
--- a/gst/librfb/d3des.c
+++ b/gst/librfb/d3des.c
@@ -26,8 +26,13 @@
* (GEnie : OUTER; CIS : [71755,204]) Graven Imagery, 1992.
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
-#include "_stdint.h"
+#endif
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#include "d3des.h"
diff --git a/sys/fbdev/gstfbdevsink.c b/sys/fbdev/gstfbdevsink.c
index 3f9ad882d..166c543ed 100644
--- a/sys/fbdev/gstfbdevsink.c
+++ b/sys/fbdev/gstfbdevsink.c
@@ -34,8 +34,14 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
+
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#include "_stdint.h"
+#endif
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#include "gstfbdevsink.h"