mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
20c3aaa448
Missing malloc.h and clock_id_t were causing issues to build. It was tested with this configuration: - linux ubuntu 14.04.5 - arduino-mega2560 board - avr-libc-1.8.0-4.1 This change was needed to build iotivity example Bug: https://github.com/RIOT-OS/RIOT/issues/6241 Change-Id: I82ce246093b3467dfe9746f999bcc9335dbb65f6 Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
60 lines
1.3 KiB
C
60 lines
1.3 KiB
C
/*
|
|
* Copyright (C) 2014 Freie Universität Berlin
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
/**
|
|
* @defgroup pthread POSIX threads
|
|
* POSIX conforming multi-threading features.
|
|
* @ingroup posix
|
|
* @{
|
|
* @file
|
|
* @brief POSIX conforming multi-threading features.
|
|
* @details Please see the transcluded `pthread_*.h` files for further information.
|
|
* @see [The Open Group Base Specifications Issue 7: pthread.h - threads](http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/pthread.h.html)
|
|
*/
|
|
|
|
#ifndef SYS__POSIX__PTHREAD__H
|
|
#define SYS__POSIX__PTHREAD__H
|
|
|
|
#include <time.h>
|
|
|
|
#ifndef __WITH_AVRLIBC__
|
|
#define HAVE_MALLOC_H 1
|
|
#endif
|
|
|
|
#include "mutex.h"
|
|
#include "sched.h"
|
|
|
|
#include "pthread_threading_attr.h"
|
|
#include "pthread_threading.h"
|
|
#include "pthread_mutex_attr.h"
|
|
#include "pthread_mutex.h"
|
|
#include "pthread_rwlock_attr.h"
|
|
#include "pthread_rwlock.h"
|
|
#include "pthread_spin.h"
|
|
#include "pthread_barrier.h"
|
|
#include "pthread_cleanup.h"
|
|
#include "pthread_once.h"
|
|
#include "pthread_scheduling.h"
|
|
#include "pthread_cancellation.h"
|
|
#include "pthread_cond.h"
|
|
#include "pthread_tls.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* SYS__POSIX__PTHREAD__H */
|
|
|
|
/**
|
|
* @}
|
|
*/
|