* Include config.h, and move a couple definitions to the header file.
This commit is contained in:
parent
62da09d9ce
commit
cbf270b601
8
uuid.c
8
uuid.c
@ -23,6 +23,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with MiniDLNA. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "config.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
@ -38,15 +39,10 @@
|
||||
#include <sys/syscall.h>
|
||||
#endif
|
||||
|
||||
#include "uuid.h"
|
||||
#include "getifaddr.h"
|
||||
#include "log.h"
|
||||
|
||||
#define ETH_ALEN 6
|
||||
#ifndef NSEC_PER_SEC
|
||||
#define NSEC_PER_SEC 1000000000L
|
||||
#endif
|
||||
#define NSEC_PER_MSEC 1000000L
|
||||
|
||||
static uint32_t clock_seq;
|
||||
static const uint32_t clock_seq_max = 0x3fff; /* 14 bits */
|
||||
static int clock_seq_initialized;
|
||||
|
Loading…
x
Reference in New Issue
Block a user