[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:
Arve Hjønnevåg
2015-07-20 16:46:59 -07:00
committed by Travis Geiselbrecht
parent a29648636b
commit c22c230c63

View File

@@ -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)