boot-maker: Fix warnings (missing header file)
[h316.git] / pc-tools / boot-maker / main.c
index 721efaec6f3bcc3a9a3766ed05077eadd4b59dc0..0ac9f31dc5ea399b2e50c0d5709d145d4cf9213b 100644 (file)
@@ -1,11 +1,10 @@
 #include <stdio.h>
-
+#include <unistd.h>
 
 void output(unsigned short * data){
     int c;
     char zero=0;
     unsigned char first_word=020;
-    unsigned short akt=0;
        for (c=0; c<100; c++) write (1,&zero,1);
        write (1,&first_word,1); // Anfangsadresse ausgeben    
        c=020;