The configuration header is internal. The public header could be
used in contexts not matching the build-time configuration (e.g.
different compiler in use)
---
 cli/cli.c   |  1 +
 f265/bdi.h  |  2 ++
 f265/f265.h | 10 +---------
 3 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/cli/cli.c b/cli/cli.c
index 32b95dd..4d78589 100644
--- a/cli/cli.c
+++ b/cli/cli.c
@@ -12,6 +12,7 @@
 #include <errno.h>
 #include <getopt.h>
 #include <ctype.h>
+#include "f265/f265_config.h"
 #include "f265/f265.h"
 #include "f265/version.h"
 
diff --git a/f265/bdi.h b/f265/bdi.h
index ec478f4..15bdd18 100644
--- a/f265/bdi.h
+++ b/f265/bdi.h
@@ -14,6 +14,8 @@
 #ifndef F265_BDI_H
 #define F265_BDI_H
 
+#include "f265/f265_config.h"
+
 // Public interface.
 #include "f265/f265.h"
 
diff --git a/f265/f265.h b/f265/f265.h
index ea4fb0b..419e373 100644
--- a/f265/f265.h
+++ b/f265/f265.h
@@ -31,18 +31,10 @@
 #ifndef F265_F265_H
 #define F265_F265_H
 
-// Configuration.
-#include "f265/f265_config.h"
-
-// Standard headers.
-#ifdef F265_HAVE_STDINT
-#include <stdint.h>
-#endif
-
 #ifdef __cplusplus
 extern "C" {
 #endif
-
+#include <stdint.h>
 
 ///////////////////////////////////////////////////////////////////////////////
 // Constants.
-- 
1.9.0

--
To unsubscribe visit http://f265.org
or send a mail to [email protected].

Reply via email to