source: patches/util-linux-2.12r-missing_header-1.patch @ 422c699

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 422c699 was 60d11db, checked in by Jim Gifford <clfs@…>, 18 years ago

Added: util-linux-2.12r-missing_header-1.patch

  • Property mode set to 100644
File size: 619 bytes
  • util-linux-2.12r

    Submitted By: Jim Gifford (patches at jg555 dot com)
    Date: 2006-05-30
    Initial Package Version: 2.12r
    Origin: Jim Gifford
    Upstream Status: Sent
    Description: Fixes the missing delcaration of R_OK in swapon.c build
     
    diff -Naur util-linux-2.12r.orig/mount/swapon.c util-linux-2.12r/mount/swapon.c
    old new  
    1111#include <mntent.h>
    1212#include <errno.h>
    1313#include <sys/stat.h>
     14#include <fcntl.h>
    1415#include "xmalloc.h"
    1516#include "swap_constants.h"
    1617#include "swapargs.h"
Note: See TracBrowser for help on using the repository browser.