1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Make desktutils/xpad compile on 4.8

This commit is contained in:
Edwin Groothuis 2003-10-06 06:13:46 +00:00
parent b7fc44bda1
commit d60c2c26e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90388

View File

@ -0,0 +1,18 @@
--- src/sm.c.orig Thu Feb 6 16:05:59 2003
+++ src/sm.c Mon Oct 6 16:09:35 2003
@@ -25,12 +25,13 @@
#include "main.h"
#include <X11/SM/SMlib.h>
#include <stdio.h> /* only for printf */
-#include <sys/select.h> /* for select */
+#include <sys/types.h> /* only for printf */
+#include <sys/select.h>
+#include <sys/time.h>
#include <stdlib.h> /* for free */
#include <string.h> /* for strlen */
#include <unistd.h> /* for getuid */
#include <pwd.h> /* for getpwuid */
-#include <sys/types.h> /* for getuid and getpwuid */
static SmcConn xpad_sm_conn = NULL;
static int xpad_interact_style;