Portability fix for SunOS

This commit is contained in:
Pierre Pronchery 2015-10-06 00:30:22 +02:00
parent 468fb7643c
commit b1cbaf3e27

View File

@ -18,7 +18,7 @@
#include <sys/param.h>
#ifndef __GNU__ /* XXX hurd portability */
# include <sys/mount.h>
# if defined(__linux__) || defined(__CYGWIN__)
# if defined(__linux__) || defined(__CYGWIN__) || defined(__sun)
# define unmount(a, b) umount(a)
# endif
# ifndef unmount