diff options
-rw-r--r-- | sysutils/gnome-control-center3/files/patch-panels_user-accounts_um-account-dialog.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/gnome-control-center3/files/patch-panels_user-accounts_um-account-dialog.c b/sysutils/gnome-control-center3/files/patch-panels_user-accounts_um-account-dialog.c new file mode 100644 index 000000000..82c112019 --- /dev/null +++ b/sysutils/gnome-control-center3/files/patch-panels_user-accounts_um-account-dialog.c @@ -0,0 +1,19 @@ +--- panels/user-accounts/um-account-dialog.c.orig 2011-01-21 09:07:21.000000000 +0100 ++++ panels/user-accounts/um-account-dialog.c 2011-01-21 09:16:37.000000000 +0100 +@@ -24,7 +24,16 @@ + #include <stdlib.h> + #include <sys/types.h> + #include <pwd.h> ++#ifdef __FreeBSD__ ++#include <sys/param.h> ++#if __FreeBSD_version < 900000 + #include <utmp.h> ++#else ++#include <utmpx.h> ++/* from the old utmp.h */ ++#define UT_NAMESIZE 16 ++#endif ++#endif + + #include <glib.h> + #include <glib/gi18n.h> |