add cmake support and fix compile errors

This commit is contained in:
broncotc
2017-08-11 10:45:40 +08:00
parent eb8567b693
commit ed6416a30d
5 changed files with 28 additions and 7 deletions

View File

@@ -1,11 +1,13 @@
#include <lib/aes.h>
#include <lib/md5.h>
extern "C"{
#include "lib/aes.h"
#include "lib/md5.h"
}
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <encrypt.h>
#include <common.h>
#include "encrypt.h"
#include "common.h"
#include "log.h"
//static uint64_t seq=1;