summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/seterr.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2010-07-15 07:40:28 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2010-07-15 07:40:28 +0000
commit0266c0e8598798e3080bc6464bdafed0fa29f810 (patch)
treedebdebc9a6de82806354646c6e5b49632e2a35a0 /cpukit/score/include/rtems/seterr.h
parent2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-0266c0e8598798e3080bc6464bdafed0fa29f810.tar.bz2
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/seterr.h: Include <errno.h>.
Diffstat (limited to 'cpukit/score/include/rtems/seterr.h')
-rw-r--r--cpukit/score/include/rtems/seterr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/seterr.h b/cpukit/score/include/rtems/seterr.h
index 2548258d87..9eb4295554 100644
--- a/cpukit/score/include/rtems/seterr.h
+++ b/cpukit/score/include/rtems/seterr.h
@@ -19,6 +19,8 @@
#ifndef _RTEMS_SETERR_H
#define _RTEMS_SETERR_H
+#include <errno.h>
+
/**
* This is a helper macro which will set the variable errno and return
* -1 to the caller. This pattern is common to many POSIX methods.