summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/rtemsobjectidapimaximum.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/rtemsobjectidapimaximum.c')
-rw-r--r--cpukit/rtems/src/rtemsobjectidapimaximum.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/rtems/src/rtemsobjectidapimaximum.c b/cpukit/rtems/src/rtemsobjectidapimaximum.c
index 1073cb0c13..7f4a56f722 100644
--- a/cpukit/rtems/src/rtemsobjectidapimaximum.c
+++ b/cpukit/rtems/src/rtemsobjectidapimaximum.c
@@ -18,11 +18,11 @@
#include "config.h"
#endif
-#include <rtems/system.h>
-#include <rtems/score/object.h>
-#include <rtems/rtems/types.h>
+#include <rtems/score/objectimpl.h>
+
+/* XXX: This is for language bindings */
+int rtems_object_id_api_maximum(void);
-#undef rtems_object_id_api_maximum
int rtems_object_id_api_maximum(void)
{
return OBJECTS_APIS_LAST;