]> code.delx.au - gnu-emacs/blobdiff - lib-src/test-distrib.c
(font-lock-fontify-anchored-keywords): Use line-beginning-position.
[gnu-emacs] / lib-src / test-distrib.c
index 01897b83a7f41e0acaac4ec7f085650135c2bb53..c2e9a2510edd5385109c80d5b9dc7f8a8fc79f60 100644 (file)
@@ -2,19 +2,16 @@
 #include <config.h>
 #endif
 
-/* Cancel substitutions made by config.h for Emacs.  */
-#undef open
-#undef read
-#undef write
-#undef close
-
 #include <stdio.h>
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #ifndef O_RDONLY
 #define O_RDONLY 0
 #endif
 
-
 /* Break string in two parts to avoid buggy C compilers that ignore characters
    after nulls in strings.  */