blob: 23a604cbf68bd9472c94b98ff6d6c7b7b3174e6a [file] [log] [blame]
Jeff Thompsonc868dd02013-09-24 15:50:47 -07001/**
2 * Copyright (C) 2013 Regents of the University of California.
3 * @author: Jeff Thompson <jefft0@remap.ucla.edu>
4 * See COPYING for copyright and distribution information.
5 */
6
7#ifndef NDN_COMMON_H
8#define NDN_COMMON_H
9
10#include "../../config.h"
11
12// Need to define uint8_t. There may be no stdint.h because it is only part of the C standard since 1999.
13#if HAVE_STDINT
14#include <stdint.h>
15#else
16#endif
17#ifndef _UINT8_T
18#define _UINT8_T
19typedef unsigned char uint8_t;
20#endif
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26
27
28#ifdef __cplusplus
29}
30#endif
31
32#endif