summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-01 15:39:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-01 15:39:23 +0000
commit5ef1164ca3769fa045d6577399b3ade40d883922 (patch)
treecc70cf879ed0a6f6997b4b4678c39c2e8aee9c69 /cpukit/libfs
parent2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-5ef1164ca3769fa045d6577399b3ade40d883922.tar.bz2
2010-07-01 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1594/filesystem * libfs/src/imfs/memfile.c: Include assert.h
Diffstat (limited to 'cpukit/libfs')
-rw-r--r--cpukit/libfs/src/imfs/memfile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libfs/src/imfs/memfile.c b/cpukit/libfs/src/imfs/memfile.c
index 61e949a7ef..2d91e217e3 100644
--- a/cpukit/libfs/src/imfs/memfile.c
+++ b/cpukit/libfs/src/imfs/memfile.c
@@ -31,6 +31,10 @@
#include <rtems/libio_.h>
#include <rtems/seterr.h>
+#if defined(RTEMS_DEBUG)
+ #include <assert.h>
+#endif
+
#define MEMFILE_STATIC
/*