[riot-commits] [RIOT-OS/RIOT] 6636e9: native/posix: Don't include sys/types.h in sem

Christian Mehlis mehlis at inf.fu-berlin.de
Mon Mar 3 17:36:47 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 6636e9c8e8dccc76c102eef4f3eba87768ff0306
      https://github.com/RIOT-OS/RIOT/commit/6636e9c8e8dccc76c102eef4f3eba87768ff0306
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M sys/include/semaphore.h

  Log Message:
  -----------
  native/posix: Don't include sys/types.h in sem

`sys/types.h` contains the native definition for `pthread_*_t`. This
causes clashes if you want to use `semaphore` and `pthread` in the same
application.


  Commit: ef1d9836d347327c6d624dde8450e5ccdb2b377f
      https://github.com/RIOT-OS/RIOT/commit/ef1d9836d347327c6d624dde8450e5ccdb2b377f
  Author: Christian Mehlis <mehlis at inf.fu-berlin.de>
  Date:   2014-03-03 (Mon, 03 Mar 2014)

  Changed paths:
    M sys/include/semaphore.h

  Log Message:
  -----------
  Merge pull request #806 from Kijewski/sem-pthread-native

native/posix: Don't include sys/types.h in semaphore.h


Compare: https://github.com/RIOT-OS/RIOT/compare/1ec20ce2f19f...ef1d9836d347


More information about the commits mailing list