22 lines
575 B
Plaintext
22 lines
575 B
Plaintext
--- ./src/callbacks.c.orig Wed Nov 10 18:28:31 1999
|
|
+++ ./src/callbacks.c Wed Nov 10 18:41:40 1999
|
|
@@ -28,6 +28,9 @@
|
|
#include <time.h>
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
+#ifdef HAVE_SYS_PARAM_H
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
|
|
#include "post_processing_on.xpm"
|
|
#include "post_processing_off.xpm"
|
|
@@ -430,7 +433,7 @@
|
|
|
|
#ifdef linux
|
|
sprintf(serial_port_prefix, "/dev/ttyS");
|
|
-#elif defined(__FreeBSD__) || defined(__NetBSD__)
|
|
+#elif defined(BSD)
|
|
sprintf(serial_port_prefix, "/dev/tty0");
|
|
#else
|
|
sprintf(serial_port_prefix, "/dev/tty0");
|