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:
@@ -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__ */
|
||||
|
Reference in New Issue
Block a user