mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Prepend kernel includes with "kernel/"
To avoid include conflicts, prepend all kernel includes with "kernel/" Change-Id: I8a3f037c4abf07b129875b919225825701dc1046 CRs-Fixed: 2094774
This commit is contained in:
parent
c3beac6cfa
commit
0bec9a9259
11 changed files with 12 additions and 13 deletions
|
|
@ -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__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue