SAMV71 and SAME70 board: In sam_appinit.c, need to include sys/types. hf CONFIG_BOARD_INITIAILZE is not defineed. Noted by Matt Poppe.

This commit is contained in:
Gregory Nutt
2016-02-24 09:43:37 -06:00
parent d73b5db5b5
commit 2c97a9cfc1
2 changed files with 6 additions and 10 deletions
+3 -5
View File
@@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* config/same70-xplained/src/sam_appinit.c * config/same70-xplained/src/sam_appinit.c
* *
* Copyright (C) 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -39,16 +39,14 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <sys/types.h>
#include <nuttx/board.h> #include <nuttx/board.h>
#include "same70-xplained.h" #include "same70-xplained.h"
#if defined(CONFIG_LIB_BOARDCTL) && !defined(CONFIG_BUILD_KERNEL) #if defined(CONFIG_LIB_BOARDCTL) && !defined(CONFIG_BUILD_KERNEL)
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/**************************************************************************** /****************************************************************************
* Public Functions * Public Functions
****************************************************************************/ ****************************************************************************/
+3 -5
View File
@@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* config/samv71-xult/src/sam_appinit.c * config/samv71-xult/src/sam_appinit.c
* *
* Copyright (C) 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -39,16 +39,14 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <sys/types.h>
#include <nuttx/board.h> #include <nuttx/board.h>
#include "samv71-xult.h" #include "samv71-xult.h"
#if defined(CONFIG_LIB_BOARDCTL) && !defined(CONFIG_BUILD_KERNEL) #if defined(CONFIG_LIB_BOARDCTL) && !defined(CONFIG_BUILD_KERNEL)
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/**************************************************************************** /****************************************************************************
* Public Functions * Public Functions
****************************************************************************/ ****************************************************************************/