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:
parent
62de6c1263
commit
0d8d278f35
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user