summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim/src/up_netdev.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-19 21:25:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-19 21:25:55 +0000
commit26af93734e5338ba01fd01b3352f5871c6ce65ef (patch)
tree58b5fb73ff80523e16d6f7d09427bece733f3bc7 /nuttx/arch/sim/src/up_netdev.c
parent7cc856ea2f1808e98387ea66537ecbc6c3de2f88 (diff)
downloadpx4-nuttx-26af93734e5338ba01fd01b3352f5871c6ce65ef.tar.gz
px4-nuttx-26af93734e5338ba01fd01b3352f5871c6ce65ef.tar.bz2
px4-nuttx-26af93734e5338ba01fd01b3352f5871c6ce65ef.zip
Misc build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3402 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sim/src/up_netdev.c')
-rw-r--r--nuttx/arch/sim/src/up_netdev.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/arch/sim/src/up_netdev.c b/nuttx/arch/sim/src/up_netdev.c
index 742492971..8758facc4 100644
--- a/nuttx/arch/sim/src/up_netdev.c
+++ b/nuttx/arch/sim/src/up_netdev.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * up_tapdev.c
+ * arch/sim/src/up_tapdev.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -44,6 +44,10 @@
* Private Definitions
****************************************************************************/
+#ifndef NULL
+# define NULL (void*)0
+#endif
+
/****************************************************************************
* Private Types
****************************************************************************/