diff options
Diffstat (limited to 'uapi/linux/osapi_linux.h')
| -rw-r--r-- | uapi/linux/osapi_linux.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uapi/linux/osapi_linux.h b/uapi/linux/osapi_linux.h index 4e61a5e21f9e..b74b6a589d66 100644 --- a/uapi/linux/osapi_linux.h +++ b/uapi/linux/osapi_linux.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -271,14 +271,14 @@ void a_netbuf_queue_init(A_NETBUF_QUEUE_T *q); #ifdef ANDROID #ifndef err -#include <errno.h> +#include <linux/errno.h> #define err(_s, args ...) do { \ fprintf(stderr, "%s: line %d ", __FILE__, __LINE__); \ fprintf(stderr, args); fprintf(stderr, ": %d\n", errno); \ exit(_s); } while (0) #endif #else -#include <err.h> +#include <linux/err.h> #endif #endif /* __KERNEL__ */ |
