aboutsummaryrefslogtreecommitdiff
path: root/apps/xrdb
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xrdb')
-rw-r--r--apps/xrdb/makefile12
-rw-r--r--apps/xrdb/xrdb.c1
2 files changed, 13 insertions, 0 deletions
diff --git a/apps/xrdb/makefile b/apps/xrdb/makefile
new file mode 100644
index 000000000..ca16db238
--- /dev/null
+++ b/apps/xrdb/makefile
@@ -0,0 +1,12 @@
+TTYAPP = xrdb
+
+INCLUDELIBFILES = \
+ $(MHMAKECONF)\libXmu\src\$(OBJDIR)\libXmu.lib \
+ $(MHMAKECONF)\libX11\$(OBJDIR)\libX11.lib
+
+LIBDIRS=$(dir $(INCLUDELIBFILES))
+
+load_makefile $(LIBDIRS:%$(OBJDIR)\=%makefile MAKESERVER=0 DEBUG=$(DEBUG);)
+
+CSRCS = xrdb.c
+
diff --git a/apps/xrdb/xrdb.c b/apps/xrdb/xrdb.c
index b7c9fa3aa..d086a603c 100644
--- a/apps/xrdb/xrdb.c
+++ b/apps/xrdb/xrdb.c
@@ -53,6 +53,7 @@
#include <errno.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <unistd.h>
#ifdef NEED_SYS_PARAM_H
# include <sys/param.h> /* defines MAXHOSTNAMELEN on BSD & Linux */