summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-21 08:49:57 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-21 08:52:29 +0100
commit11925eef789566a226d8eaacbceb4d89df787ebc (patch)
treed9012073fa76528fd205eed96cc016d566f7c89d /cpukit/libfs/src/dosfs
parentsmpschedaffinity05: Change semaphore attributes. (diff)
downloadrtems-11925eef789566a226d8eaacbceb4d89df787ebc.tar.bz2
Delete or rename MIN/MAX macros and defines
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
Diffstat (limited to 'cpukit/libfs/src/dosfs')
-rw-r--r--cpukit/libfs/src/dosfs/fat.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/libfs/src/dosfs/fat.h b/cpukit/libfs/src/dosfs/fat.h
index 26f0699e78..6b866794e1 100644
--- a/cpukit/libfs/src/dosfs/fat.h
+++ b/cpukit/libfs/src/dosfs/fat.h
@@ -22,6 +22,7 @@
#ifndef __DOSFS_FAT_H__
#define __DOSFS_FAT_H__
+#include <sys/param.h>
#include <string.h>
#include <rtems/seterr.h>
@@ -68,10 +69,6 @@ extern "C" {
# define CT_LE_L(v) (v)
#endif
-#ifndef MIN
-#define MIN(a, b) (((a) < (b)) ? (a) : (b))
-#endif
-
#define FAT_HASH_SIZE 2
#define FAT_HASH_MODULE FAT_HASH_SIZE