Remove includes of <stdint.h>
Instead of including the deprecated header <stdint.h>, zm_define.h should be used.
This commit is contained in:
parent
e09fa1bebf
commit
0c5c720e4b
|
@ -19,8 +19,9 @@
|
||||||
|
|
||||||
#ifndef ZM_FFMPEG_H
|
#ifndef ZM_FFMPEG_H
|
||||||
#define ZM_FFMPEG_H
|
#define ZM_FFMPEG_H
|
||||||
#include <stdint.h>
|
|
||||||
#include "zm.h"
|
#include "zm_config.h"
|
||||||
|
#include "zm_define.h"
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,9 @@
|
||||||
#define ZM_LOGGER_H
|
#define ZM_LOGGER_H
|
||||||
|
|
||||||
#include "zm_config.h"
|
#include "zm_config.h"
|
||||||
#include <stdint.h>
|
#include "zm_define.h"
|
||||||
|
#include "zm_thread.h"
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
@ -30,8 +32,6 @@
|
||||||
#endif // HAVE_SYS_SYSCALL_H
|
#endif // HAVE_SYS_SYSCALL_H
|
||||||
#include <mysql/mysql.h>
|
#include <mysql/mysql.h>
|
||||||
|
|
||||||
#include "zm_thread.h"
|
|
||||||
|
|
||||||
class Logger {
|
class Logger {
|
||||||
public:
|
public:
|
||||||
enum {
|
enum {
|
||||||
|
|
|
@ -44,7 +44,6 @@ class Monitor;
|
||||||
#include "zm_image_analyser.h"
|
#include "zm_image_analyser.h"
|
||||||
|
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
#define SIGNAL_CAUSE "Signal"
|
#define SIGNAL_CAUSE "Signal"
|
||||||
#define MOTION_CAUSE "Motion"
|
#define MOTION_CAUSE "Motion"
|
||||||
|
|
|
@ -20,10 +20,9 @@
|
||||||
#ifndef ZM_RTP_DATA_H
|
#ifndef ZM_RTP_DATA_H
|
||||||
#define ZM_RTP_DATA_H
|
#define ZM_RTP_DATA_H
|
||||||
|
|
||||||
#include "zm_thread.h"
|
|
||||||
#include "zm_buffer.h"
|
#include "zm_buffer.h"
|
||||||
|
#include "zm_define.h"
|
||||||
#include <stdint.h>
|
#include "zm_thread.h"
|
||||||
|
|
||||||
class RtspThread;
|
class RtspThread;
|
||||||
class RtpSource;
|
class RtpSource;
|
||||||
|
|
|
@ -21,11 +21,11 @@
|
||||||
#define ZM_RTP_SOURCE_H
|
#define ZM_RTP_SOURCE_H
|
||||||
|
|
||||||
#include "zm_buffer.h"
|
#include "zm_buffer.h"
|
||||||
|
#include "zm_define.h"
|
||||||
#include "zm_ffmpeg.h"
|
#include "zm_ffmpeg.h"
|
||||||
#include "zm_thread.h"
|
#include "zm_thread.h"
|
||||||
|
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <stdint.h>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#if HAVE_LIBAVCODEC
|
#if HAVE_LIBAVCODEC
|
||||||
|
|
Loading…
Reference in New Issue