summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-08-18 17:46:19 +0530
committerTim-Philipp Müller <tim@centricular.com>2016-08-19 14:42:52 +0100
commit7e2b68fe2f22b4f12d876aa9385f594244a631b8 (patch)
tree655602562c194d3cff8c3ab7465e631c02ce7f5b /sys
parent950013ff466a5e54d053aac6ea3afb5b428d871c (diff)
downloadgstreamer-plugins-bad-7e2b68fe2f22b4f12d876aa9385f594244a631b8.tar.gz
plugins: Use stdint.h instead of _stdint.h
_stdint.h is generated by Autotools and we don't really need it. All supported platforms now ship with stdint.h. The only stickler was MSVC, and since Visual Studio 2015 it also ships stdint.h now.
Diffstat (limited to 'sys')
-rw-r--r--sys/fbdev/gstfbdevsink.c8
1 files changed, 7 insertions, 1 deletions
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"