summaryrefslogtreecommitdiff
path: root/nuttx/drivers/mtd
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-23 00:58:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-23 00:58:00 +0000
commit617ec57ee062782a59650a5c5cf8cba44c53adc7 (patch)
tree9663e36a6f697ca1389310e5495796f8d3f78f55 /nuttx/drivers/mtd
parentbdb6f93e9da4768ba60375f8ff89d0ed124e19bd (diff)
downloadpx4-nuttx-617ec57ee062782a59650a5c5cf8cba44c53adc7.tar.gz
px4-nuttx-617ec57ee062782a59650a5c5cf8cba44c53adc7.tar.bz2
px4-nuttx-617ec57ee062782a59650a5c5cf8cba44c53adc7.zip
PIC32 NSH configuration now builds without errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4220 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/mtd')
-rw-r--r--nuttx/drivers/mtd/m25px.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/drivers/mtd/m25px.c b/nuttx/drivers/mtd/m25px.c
index 6fc613d7c..3c4229b95 100644
--- a/nuttx/drivers/mtd/m25px.c
+++ b/nuttx/drivers/mtd/m25px.c
@@ -3,7 +3,7 @@
* Driver for SPI-based M25P1 (128Kbit), M25P64 (64Mbit), and M25P128 (128Mbit) FLASH
*
* Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -44,6 +44,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
+#include <unistd.h>
#include <errno.h>
#include <debug.h>