src: Add missing include <stdint.h>
Change-Id: Idf10a09745756887a517da4c26db7a90a1bf9543 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29403 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#ifndef CPU_AMD_VR_H
|
||||
#define CPU_AMD_VR_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define VRC_INDEX 0xAC1C // Index register
|
||||
#define VRC_DATA 0xAC1E // Data register
|
||||
#define VR_UNLOCK 0xFC53 // Virtual register unlock code
|
||||
|
@@ -1,6 +1,8 @@
|
||||
#ifndef DEVICE_PATH_H
|
||||
#define DEVICE_PATH_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
enum device_path_type {
|
||||
DEVICE_PATH_NONE = 0,
|
||||
DEVICE_PATH_ROOT,
|
||||
|
@@ -1,6 +1,3 @@
|
||||
#ifndef _SWAB_H
|
||||
#define _SWAB_H
|
||||
|
||||
/*
|
||||
* linux/byteorder/swab.h
|
||||
* Byte-swapping, independently from CPU endianness
|
||||
@@ -18,6 +15,12 @@
|
||||
/* casts are necessary for constants, because we never know how for sure
|
||||
* how U/UL/ULL map to __u16, __u32, __u64. At least not in a portable way.
|
||||
*/
|
||||
|
||||
#ifndef _SWAB_H
|
||||
#define _SWAB_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define swab16(x) \
|
||||
((unsigned short)( \
|
||||
(((unsigned short)(x) & (unsigned short)0x00ffU) << 8) | \
|
||||
|
Reference in New Issue
Block a user