[x264-devel] [PATCH 07/29] cpu: Decouple module from common.h
Vittorio Giovara
vittorio.giovara at gmail.com
Thu Feb 2 10:05:19 CET 2017
---
common/cpu.c | 5 ++++-
common/cpu.h | 2 ++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/common/cpu.c b/common/cpu.c
index 7af775c..2c1932a 100644
--- a/common/cpu.c
+++ b/common/cpu.c
@@ -25,7 +25,10 @@
* For more information, contact us at licensing at x264.com.
*****************************************************************************/
-#include "common.h"
+#include "cpu.h"
+#include "log.h"
+#include "x264.h"
+#include <assert.h>
#if HAVE_POSIXTHREAD && SYS_LINUX
#include <sched.h>
diff --git a/common/cpu.h b/common/cpu.h
index eec1be2..709af38 100644
--- a/common/cpu.h
+++ b/common/cpu.h
@@ -26,6 +26,8 @@
#ifndef X264_CPU_H
#define X264_CPU_H
+#include "osdep.h"
+
uint32_t x264_cpu_detect( void );
int x264_cpu_num_processors( void );
void x264_cpu_emms( void );
--
2.10.0
More information about the x264-devel
mailing list