aboutsummaryrefslogtreecommitdiff
path: root/nuttx/drivers/mtd
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-12-23 00:58:00 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-12-23 00:58:00 +0000
commitf1ee90fa13db310f659be8337bf69daa32c04485 (patch)
tree9663e36a6f697ca1389310e5495796f8d3f78f55 /nuttx/drivers/mtd
parent5464c1d5ed3af8692d47d44e5fb1a2183794fd8d (diff)
downloadpx4-firmware-f1ee90fa13db310f659be8337bf69daa32c04485.tar.gz
px4-firmware-f1ee90fa13db310f659be8337bf69daa32c04485.tar.bz2
px4-firmware-f1ee90fa13db310f659be8337bf69daa32c04485.zip
PIC32 NSH configuration now builds without errors
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4220 7fd9a85b-ad96-42d3-883c-3090e2eb8679
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>