[include][err] Don't include sys/types.h if ASSEMBLY is defined
Allows use by assembly files. Change-Id: Ie4a4d2e7601e5c350c89f39fe1ff9e5a5696f623
This commit is contained in:
committed by
Travis Geiselbrecht
parent
a29648636b
commit
c22c230c63
@@ -23,7 +23,9 @@
|
||||
#ifndef __ERR_H
|
||||
#define __ERR_H
|
||||
|
||||
#ifndef ASSEMBLY
|
||||
#include <sys/types.h> // for status_t
|
||||
#endif
|
||||
|
||||
#define NO_ERROR (0)
|
||||
#define ERR_GENERIC (-1)
|
||||
|
||||
Reference in New Issue
Block a user