• Show log

    Commit

  • Hash : 13c32916
    Author : Baruch Siach
    Date : 2018-06-05T19:21:46

    flopen: Add missing <fcntl.h> include
    
    Commit 993828d84ee (Add flopenat() function from FreeBSD) dropped the
    fcntl.h header. This breaks the build with musl libc:
    
    flopen.c: In function ‘vflopenat’:
    flopen.c:60:14: error: ‘O_CREAT’ undeclared (first use in this function)
      if (flags & O_CREAT) {
                  ^~~~~~~
    
    Restore the fcntl.h header include to fix the build.
    
    Fixes: commit 993828d84eed0468c6c15b2818e534e6b134b8e4
    Submitted-also-by: parazyd <parazyd@dyne.org>
    Signed-off-by: Baruch Siach <baruch@tkos.co.il>
    Signed-off-by: Guillem Jover <guillem@hadrons.org>
    

  • README

  • libbsd - Utility functions from BSD systems
    
    This library provides useful functions commonly found on BSD systems,
    and lacking on others like GNU systems, thus making it easier to port
    projects with strong BSD origins, without needing to embed the same
    code over and over again on each project.
    
    
    Releases
    --------
    
      <https://libbsd.freedesktop.org/releases/>
    
    
    Mailing List
    ------------
    
    The subscription interface and web archives can be found at:
    
      <https://lists.freedesktop.org/mailman/listinfo/libbsd>
    
    The mail address is:
    
      libbsd@lists.freedesktop.org
    
    
    Source Repository
    -----------------
    
    The master repository can be browsed at:
    
      <https://cgit.freedesktop.org/libbsd>
    
    and cloned from:
    
      <https://anongit.freedesktop.org/git/libbsd>