small fixes for pkgsrc by Buccapatnam Tirumala, Gautam.

This commit is contained in:
Ben Gras 2010-06-30 12:18:34 +00:00
parent 9313bc9a6f
commit 098412be83
2 changed files with 4 additions and 0 deletions

View file

@ -68,6 +68,7 @@ struct stat {
#define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) /* is a socket */
#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
#define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
/* Function Prototypes. */
_PROTOTYPE( int chmod, (const char *_path, mode_t _mode) );

View file

@ -16,6 +16,9 @@ static char elsieid[] = "@(#)localtime.c 7.99";
/*LINTLIBRARY*/
/* Gives us offtime, timegm and a few other functions */
#define STD_INSPIRED
#include "private.h"
#include "tzfile.h"
#include "fcntl.h"