1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

include stdint.h

This commit is contained in:
Benjamin Valentin 2013-01-12 21:41:00 +01:00
parent 62de6c1263
commit 0d8d278f35

View File

@ -8,6 +8,7 @@
#ifndef COMMON_H_
#define COMMON_H_
#include <string.h>
#include <stdint.h>
#define BITSET(var,pos) ((var) & (1<<(pos)))
#define HTONS(a) ((((uint16_t) (a) >> 8) & 0xff) | ((((uint16_t) (a)) & 0xff) << 8))