1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11/rxvt-unicode/files/patch-ab
Satoshi Asami 0f91c7bcb4 Move the existing (unconditional) <sys/types.h> include above the
conditional include of <utmp.h>.
1997-04-25 11:10:52 +00:00

20 lines
354 B
Plaintext

--- ./src/utmp.c.org Thu Jan 23 10:46:02 1997
+++ ./src/utmp.c Thu Apr 24 15:20:49 1997
@@ -80,6 +80,8 @@
#include <stdio.h>
#include <string.h>
+#include <sys/types.h>
+
#ifdef HAVE_UTMPX_H
# include <utmpx.h>
# define USE_SYSV_UTMP
@@ -90,7 +92,6 @@
# endif
#endif
-#include <sys/types.h>
#include <sys/stat.h>
#ifdef TIME_WITH_SYS_TIME