mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
ksh/libast: include sys/sysmacros.h in fmtdev.c for linux systems
Fix scraped from CDE forum post:
24d7511a39
/
This commit is contained in:
parent
d59ec197e5
commit
b53728d3b3
1 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,10 @@
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <ls.h>
|
#include <ls.h>
|
||||||
|
|
||||||
|
#if defined(__linux__)
|
||||||
|
#include <sys/sysmacros.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
char*
|
char*
|
||||||
fmtdev __PARAM__((struct stat* st), (st)) __OTORP__(struct stat* st;){
|
fmtdev __PARAM__((struct stat* st), (st)) __OTORP__(struct stat* st;){
|
||||||
unsigned int ma = major(idevice(st));
|
unsigned int ma = major(idevice(st));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue